From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] IQ: HASHER problem: hasher-priv and prefix mismatch Date: Tue, 9 Dec 2003 14:46:40 +0300 Message-ID: <20031209114640.GB7966@basalt.office.altlinux.org> (raw) In-Reply-To: <003e01c3bde3$57351bb0$3f0aa8c0@xp433ntws> [-- Attachment #1: Type: text/plain, Size: 1275 bytes --] On Tue, Dec 09, 2003 at 11:31:01AM +1200, Anton V. Denisov wrote: > Приветствую всех. > > Ну вот и у меня случилась проблема с hasher'ом: > > $ > hsh --no-stuff --no-cache --no-contents-indices --no-sisyphus-check --target > =i686 /opt/tmp/hasher/ TODO/kernel-build-tools-0.5-alt5.src.rpm > /usr/lib/hasher-priv/hasher-priv: /opt/tmp/hasher/chroot: prefix mismatch > mkchroot: failed to make devices. > > Для справки: /opt/tmp расположен на отдельном XFS разделе, > hasher-0.9.1-alt1, hasher-priv-0.6.1-alt1. Указанная ошибка не возникает, > если расположить workdir на том же ext2 разделе, где и расположен srpm > пакет. Как это полечить без обновления hasher & Co? > > Кажется сам нашёл ответ на вопрос - надо подправить содержимое > /etc/hasher-priv/system. Дмитрий, на что влияет этот prefix? Файл Все функции hasher-priv, которые выполняют chroot(2), проверяют, что prefix является префиксом того места, в которое предполагается сделать chroot(2). По умолчанию, prefix=~ (т.е. разрешено порождать сборочную среду только внутри $HOME). > /usr/share/doc/hasher-priv-0.6.1/DESIGN несколько об этом умалчивает. Там, кстати, написано, что /etc/hasher-priv/system - это общесистемный конфиг, per-user изменения лучше вносить в /etc/hasher-priv/user.d/<user> -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2003-12-09 11:46 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-12-08 23:31 Anton V. Denisov 2003-12-09 11:46 ` Dmitry V. Levin [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20031209114640.GB7966@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git