ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Hahser problem
@ 2004-04-27  9:33 Andrey Semenov
  2004-04-27 10:41 ` Vital Khilko
  2004-04-27 11:02 ` Dmitry V. Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Andrey Semenov @ 2004-04-27  9:33 UTC (permalink / raw)
  To: ALT Devel discussion list

Добрый день, господа.
  Попытался в хешере собрать пакетик вот что получил

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.

В чем проблема? Подскажите.

-- 
Best regards,
 Andrey                          mailto:mitrofan@altlinux.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Hahser problem
  2004-04-27  9:33 [devel] Hahser problem Andrey Semenov
@ 2004-04-27 10:41 ` Vital Khilko
  2004-04-27 11:02 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Vital Khilko @ 2004-04-27 10:41 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

On Аўт, 2004-04-27 at 13:33 +0400, Andrey Semenov wrote:

> mkchroot: cannot access getugid1 helper.
> 
> В чем проблема? Подскажите.

 /usr/sbin/hasher-useradd?


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Hahser problem
  2004-04-27  9:33 [devel] Hahser problem Andrey Semenov
  2004-04-27 10:41 ` Vital Khilko
@ 2004-04-27 11:02 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2004-04-27 11:02 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-27 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-27  9:33 [devel] Hahser problem Andrey Semenov
2004-04-27 10:41 ` Vital Khilko
2004-04-27 11:02 ` Dmitry V. Levin

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