ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Возможно ли в хашер пробросить реальную ФС?
Date: Tue, 12 Feb 2013 21:20:07 +0400
Message-ID: <20130212172007.GA20166@altlinux.org> (raw)
In-Reply-To: <CAH5o5+E=JpaJn55K-03PH+4XT3j3tcnSYEuTmFm+Vt4425Mp2Q@mail.gmail.com>

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

On Tue, Feb 12, 2013 at 08:59:30PM +0400, Михаил Радюк wrote:
> Заменил /mnt/repo на /.host/repo в конфигурационных файлах, инициировал хашер
> hsh --apt-config=/home/mike/apt/apt.conf_sisyphus --initroot-only
> ~/hasher-sisyphus
> создал .host/repo
> mkdir ~/hasher-sisyphus/chroot/.host/repo
> сменил группу на repo
> chgrp -- `/usr/libexec/hasher-priv/hasher-priv getugid1 |cut -d: -f2`
> ~/hasher-sisyphus/chroot/.host/repo
> Пытаюсь войти в шелл
> hsh-shell ~/hasher-sisyphus/ --mount='/.host/repo'
> hasher-priv: .host: expected group 501, found group 500
> 
> сменил группу на .host
> chgrp -- `/usr/libexec/hasher-priv/hasher-priv getugid1 |cut -d: -f2`
> ~/hasher-sisyphus/chroot/.host
> 
> Захожу в шелл без ошибок, но repo нигде не вижу
> 
> hsh-shell ~/hasher-sisyphus/ --mount='/.host/repo'
> cd /&&find -type d -name 'repo'
> find: './var/nobody': Permission denied
> find: './var/spool/mail': Permission denied
> find: './var/lock/subsys': Permission denied
> find: './var/lock/serial': Permission denied
> find: './var/lock/uucp': Permission denied
> find: './var/cache/ldconfig': Permission denied
> find: './.host': Permission denied

Доступа на чтение /.host нет, но /.host/repo там есть.


-- 
ldv

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

  reply	other threads:[~2013-02-12 17:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  9:14 Михаил Радюк
2013-02-12  9:30 ` Dmitry V. Levin
2013-02-12 10:03   ` Motsyo Gennadi aka Drool
2013-02-12 11:09   ` Михаил Радюк
2013-02-12 14:21     ` Dmitry V. Levin
2013-02-12 16:59       ` Михаил Радюк
2013-02-12 17:20         ` Dmitry V. Levin [this message]
2013-02-12 17:36           ` Михаил Радюк

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=20130212172007.GA20166@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