From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Hahser problem
Date: Tue, 27 Apr 2004 15:02:54 +0400
Message-ID: <20040427110254.GF21443@basalt.office.altlinux.org> (raw)
In-Reply-To: <70343266340.20040427133323@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 2859 bytes --]
Hi,
On Tue, Apr 27, 2004 at 01:33:23PM +0400, Andrey Semenov wrote:
> Добрый день, господа.
> Попытался в хешере собрать пакетик вот что получил
>
> Components: hasher
> Processing pkglists... hasher done
> Processing srclists... hasher done
> Creating component releases... done
> Updating global release file... done
> Appending MD5Sum... hasher done
> All your base are belong to us!!!
> mkchroot: cannot access getugid1 helper.
>
> В чем проблема? Подскажите.
Выдержка из ещё не опубликованного FAQ к hasherу:
------------------------------
3. WHY ISN'T THIS WORKING?
3.1. Problems accessing privileged helpers.
3.1.1 How to make hasher work? Every run ends up with the following:
Components: hasher
Processing pkglists... hasher done
Processing srclists... hasher done
Creating component releases... hasher done
Creating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
mkchroot: cannot access getugid1 helper.
In order to prepare package hasher to use by USER, pair of special
satellite users must be added. System administrator should run
# hasher-useradd USER
This command creates two additional satellite users, USER_a and
USER_b, and adds USER to groups: hashman, USER_a and USER_b.
See hasher-useradd(8) for details.
3.1.2 I've created satellite users according to instructions, but still
getting the same error. Why?
You have to re-login to gain new credentials.
3.1.3 Well, I've logged in, now it reports:
/usr/lib/hasher-priv/hasher-priv: /: bad perms: 757
mkchroot: getugid1 failed.
You filesystem permissions are broken, you really should repair your
operating system as soon as possible.
3.2. Workdir prefix mismatch.
3.2.1 When I run
hsh /path/to/workdir path/to/foobar-1.0.src.rpm
hasher fails with:
/usr/lib/hasher-priv/hasher-priv: /path/to/workdir/chroot: prefix mismatch, working directory should start with $HOME
mkchroot: failed to make devices.
By default, hasher is configured to create working directories
inside $HOME only. This is a security sensitive parameter.
System administrator can change this default, either systemwide
or personally for you.
In first case, change "prefix" parameter in
/etc/hasher-priv/system to /path/to/workdir.
In second case, add the line
prefix=/path/to/workdir
to the per-user config, /etc/hasher-priv/user.d/$USER.
3.3. Local and remote repositories.
3.3.1 Run of hasher failed with the following error:
initroot: calculated package file list is not local.
initroot: failed to generate initial package file list.
Hasher supports only local apt source methods (i.e. file and copy).
That is, you have to place package repository on local host or use NFS.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-04-27 11:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-27 9:33 Andrey Semenov
2004-04-27 10:41 ` Vital Khilko
2004-04-27 11:02 ` 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=20040427110254.GF21443@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