ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Vladimir A. Svyatoshenko" <svyt22@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus]  песочница в VE для i586 на х86_64
Date: Wed, 20 Dec 2006 13:08:26 +0000
Message-ID: <20061220130826.418fb113@vhost64.vps> (raw)

Добрый день,

Решил построить песочницу для i586 в виртуальной машине.

1. Поставил ядро kernel-image-ovz-smp-2.6.18-alt3.x86_64.rpm и vzctrl.

2. Поднял VE из шаблона с 32-битными пакетами.

3. Примонтировал в VE раздел с Сизифом
#mount -o bind /home/rep /var/lib/vz/root/102/home/repository

4. Подправил /etc/apt/sources.list

5. Доставил в VE haser

6. Завел пользователя:
 
#vzctl set 102 --userpasswd builder:builder

7. Добавил пользователя в hasher:

#vzctl enter 102
#hasher-useradd builder

8. Переключился в пользователя
#su - builder
 
9. Создал дирректорию 
#md ~/hash

10. Пробую собрать пакет
#cd /home/repository/Sisyphus/file/SRPMS
#hsh ~/hash --target i586 x264-0.0-alt54.611.1.src

и получаю следующее:

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!!!
hasher-priv: /: bad perms: 1775
mkchroot: getugid1 failed.

что я делаю не так?


             reply	other threads:[~2006-12-20 13:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-20 13:08 Vladimir A. Svyatoshenko [this message]
2006-12-20 11:20 ` Led
2006-12-20 13:37   ` Vladimir A. Svyatoshenko
2006-12-20 11:42     ` Led
2006-12-20 13:48       ` Vladimir A. Svyatoshenko
2006-12-20 13:38         ` Alexey Borovskoy
2006-12-20 16:08           ` Vladimir A. Svyatoshenko
2006-12-20 14:13             ` Led
2006-12-20 16:17               ` Vladimir A. Svyatoshenko
2006-12-20 14:21                 ` Slava Dubrovskiy
2006-12-20 14:29                 ` Led
2006-12-20 14:16             ` Slava Dubrovskiy
2006-12-20 16:35               ` Vladimir A. Svyatoshenko

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=20061220130826.418fb113@vhost64.vps \
    --to=svyt22@gmail.com \
    --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