* [sisyphus] /dev/shm в Hasher
@ 2014-01-22 9:16 Андрей Черепанов
2014-01-22 10:24 ` Dmitry V. Levin
0 siblings, 1 reply; 4+ messages in thread
From: Андрей Черепанов @ 2014-01-22 9:16 UTC (permalink / raw)
To: sisyphus
$ grep allow /etc/hasher-priv/system
allowed_mountpoints=/proc,/dev/pts,/dev/shm
$ grep mountpoint ~/.hasher/config
mountpoints=/proc,/dev/shm
known_mountpoints=/proc,/dev/shm
$ hsh-shell $TMPDIR --mountpoints=/proc,/dev/shm
hasher-priv: mount: /dev/shm: mount point not supported
Как правильно /dev/shm использовать в хэшернице (chromium не собирается
без этого)?
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] /dev/shm в Hasher
2014-01-22 9:16 [sisyphus] /dev/shm в Hasher Андрей Черепанов
@ 2014-01-22 10:24 ` Dmitry V. Levin
2014-01-22 10:42 ` Андрей Черепанов
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2014-01-22 10:24 UTC (permalink / raw)
To: ALT Linux Sisyphus mailing list
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
On Wed, Jan 22, 2014 at 01:16:34PM +0400, Андрей Черепанов wrote:
> $ grep allow /etc/hasher-priv/system
> allowed_mountpoints=/proc,/dev/pts,/dev/shm
>
> $ grep mountpoint ~/.hasher/config
> mountpoints=/proc,/dev/shm
> known_mountpoints=/proc,/dev/shm
>
> $ hsh-shell $TMPDIR --mountpoints=/proc,/dev/shm
> hasher-priv: mount: /dev/shm: mount point not supported
>
> Как правильно /dev/shm использовать в хэшернице (chromium не собирается
> без этого)?
Записать в /etc/hasher-priv/fstab, как именно монтировать?
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] /dev/shm в Hasher
2014-01-22 10:24 ` Dmitry V. Levin
@ 2014-01-22 10:42 ` Андрей Черепанов
2014-01-22 11:09 ` Dmitry V. Levin
0 siblings, 1 reply; 4+ messages in thread
From: Андрей Черепанов @ 2014-01-22 10:42 UTC (permalink / raw)
To: sisyphus
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
22.01.2014 14:24, Dmitry V. Levin пишет:
> On Wed, Jan 22, 2014 at 01:16:34PM +0400, Андрей Черепанов wrote:
>> $ grep allow /etc/hasher-priv/system
>> allowed_mountpoints=/proc,/dev/pts,/dev/shm
>>
>> $ grep mountpoint ~/.hasher/config mountpoints=/proc,/dev/shm
>> known_mountpoints=/proc,/dev/shm
>>
>> $ hsh-shell $TMPDIR --mountpoints=/proc,/dev/shm hasher-priv:
>> mount: /dev/shm: mount point not supported
>>
>> Как правильно /dev/shm использовать в хэшернице (chromium не
>> собирается без этого)?
>
> Записать в /etc/hasher-priv/fstab, как именно монтировать?
$ grep -v \# /etc/hasher-priv/fstab
/dev/shm /dev/shm bind bind 0 0
$ hsh-shell $TMPDIR --mountpoints=/proc,/dev/shm
hasher-priv: chrootuid: shm: expected group 502, found group 500
- --
Андрей Черепанов
ALT Linux
cas@altlinux.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iEYEARECAAYFAlLfoIsACgkQSGPA9Knr8TG1lwCgwlzWuKXmwwhG00GkHVsywtQV
ecYAoMHlXYuICWzu7/t2BSMqlYe+u04K
=lUjW
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] /dev/shm в Hasher
2014-01-22 10:42 ` Андрей Черепанов
@ 2014-01-22 11:09 ` Dmitry V. Levin
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2014-01-22 11:09 UTC (permalink / raw)
To: ALT Linux Sisyphus mailing list
[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]
On Wed, Jan 22, 2014 at 02:42:19PM +0400, Андрей Черепанов wrote:
> 22.01.2014 14:24, Dmitry V. Levin пишет:
> > On Wed, Jan 22, 2014 at 01:16:34PM +0400, Андрей Черепанов wrote:
> >> $ grep allow /etc/hasher-priv/system
> >> allowed_mountpoints=/proc,/dev/pts,/dev/shm
> >>
> >> $ grep mountpoint ~/.hasher/config mountpoints=/proc,/dev/shm
> >> known_mountpoints=/proc,/dev/shm
> >>
> >> $ hsh-shell $TMPDIR --mountpoints=/proc,/dev/shm hasher-priv:
> >> mount: /dev/shm: mount point not supported
> >>
> >> Как правильно /dev/shm использовать в хэшернице (chromium не
> >> собирается без этого)?
> >
> > Записать в /etc/hasher-priv/fstab, как именно монтировать?
> $ grep -v \# /etc/hasher-priv/fstab
> /dev/shm /dev/shm bind bind 0 0
Зачем хостовый /dev/shm монтировать?
Может быть, достаточно направить chroot/dev/shm в chroot/var/tmp?
> $ hsh-shell $TMPDIR --mountpoints=/proc,/dev/shm
> hasher-priv: chrootuid: shm: expected group 502, found group 500
chgrp 502 $TMPDIR/chroot/dev/shm
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-22 11:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22 9:16 [sisyphus] /dev/shm в Hasher Андрей Черепанов
2014-01-22 10:24 ` Dmitry V. Levin
2014-01-22 10:42 ` Андрей Черепанов
2014-01-22 11:09 ` Dmitry V. Levin
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