ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] hesher не хочет работать внутри VPS :-(
Date: Wed, 16 Aug 2006 00:42:10 +0400
Message-ID: <20060815204210.GE28603@basalt.office.altlinux.org> (raw)
In-Reply-To: <20060815191253.GA14343@lks.home>

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

On Tue, Aug 15, 2006 at 11:12:53PM +0400, Konstantin A. Lepikhov wrote:
> Tuesday 15, at 05:40:39 PM you wrote:
> > Slava Dubrovskiy wrote:
> > > Здравствуйте.
> > 
> > > Что-то не могу понять что не так. Создал отдельный сборочный сервер в
> > > OpenVZ. Установил hasher, rpm-build. Добавил пользователя slava,
> > > hasher-useradd slava, перелогинился. В общем все как всегда.
> > > 
> > > При попытке собрать пакет ругается:
> > > hasher-priv: /: bad perms: 1775
> > > mkchroot: getugid1 failed.
> > > удален `/home/slava/RPM/hasher/lockdir/pid'
> > > удален каталог: `/home/slava/RPM/hasher/lockdir'
> > > 
> > > В FAQ написано что нужно срочно чинить файловую систему. Шаблон делал с
> > > помощью spt как описано в вики. Может есть какие-то особенности по
> > > использованию хешера внутри VPS?
> > 
> > Для начала прочтите
> > http://lists.altlinux.org/pipermail/sisyphus/2006-May/082009.html (всю
> > нить обсуждения от начала до конца).
> > 
> > Потом пробуйте сделать так, чтобы внутри VPS `ls -ld` выдавало
> > 0755/drwxr-xr-x root:root вместо того, что у вас сейчас.
> так это лажа какая-то - почему при создании VPS получаются такие права.

Телепаты вышли из отпуска.
Скорее всего, template cache для этого контейнера был создан при помощи
hasher'а, причём либо одна из команд была запущена без параметра --save,
либо, что наиболее вероятно, был использован hasher cache, созданный без
параметра --save.

Напоминаю, что hasher cache, созданный во время сборки пакетов (т.е. без
параметра --save), непригоден для создания template cache под контейнеры
(т.е. с параметром --save).  Поскольку hasher cache (пока) не содержит
информации о том, в каком режиме он был создан, пользователю приходится
следить за этим самостоятельно.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-08-15 20:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15 14:26 Slava Dubrovskiy
2006-08-15 14:37 ` Vadym Kononenko
2006-08-15 14:35   ` Led
2006-08-15 14:40     ` Slava Dubrovskiy
2006-08-15 14:43       ` Andrei Bulava
2006-08-15 14:49         ` Slava Dubrovskiy
2006-08-15 14:40 ` Andrei Bulava
2006-08-15 19:12   ` Konstantin A. Lepikhov
2006-08-15 20:42     ` Dmitry V. Levin [this message]
2006-08-16  6:32       ` Slava Dubrovskiy
2006-08-16  8:04       ` Konstantin A. Lepikhov
2006-08-16 10:33         ` Dmitry V. Levin

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=20060815204210.GE28603@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git