From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: Пробросить UNIX'ный сокет для использования в hsh-run
Date: Sat, 25 Jul 2009 11:48:04 +0400
Message-ID: <20090725074804.GK11416@altlinux.org> (raw)
In-Reply-To: <m3vdlh68o3.fsf@blard.localdomain>
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
On Sat, Jul 25, 2009 at 05:03:08AM +0700, Michael Pozhidaev wrote:
> Можно ли как-нибудь сокет в хост-системе, расположенный в /var/run/...,
> сделать доступным в хашерном chroot'е, и желательно тоже в /var/run...?
> Разумеется так, чтобы соединения изнутри хашера обрабатывал бы сервер в
> хост системе.
>
> Как понимаю, симлинки не вылезут за пределы chroot, жёсткие ссылки тоже
> не годятся, т. к. это всё происходит на разных разделах, хашер чаще
> всего в /tmp запускается.
> Может что-нибудь вроде mount --bind тут применимо?
>
> Если у кого-нибудь есть проверенный рецепт, поделитесь, пожалуйста.
В хешере есть фасилити для монтирования и отмонтирования фс вовнутрь,
см. /etc/hasher-priv/fstab. Но как её правильно настроить я с ходу
не знаю/не помню. Вроде не очень сложно. :)
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-07-25 7:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-24 22:03 Michael Pozhidaev
2009-07-24 23:39 ` Wartan Hachaturow
2009-07-25 0:27 ` Alexey I. Froloff
2009-07-25 0:34 ` Michael Pozhidaev
2009-07-25 0:31 ` Michael Pozhidaev
2009-07-25 7:29 ` Ivan Fedorov
2009-07-25 7:48 ` Alexey Tourbin [this message]
2009-07-25 23:00 ` Michael Pozhidaev
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=20090725074804.GK11416@altlinux.org \
--to=at@altlinux.ru \
--cc=devel@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 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