ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@itx.ru>
To: ALT Linux Team development discussions <Devel@lists.altlinux.org>
Subject: Re: [devel] hasher share_network=1
Date: Wed, 23 Dec 2015 11:36:58 +0300
Message-ID: <CANM4Ruiq++aRm6Ap8yDgRkE4WPHiqzwkLZ1WVg_e7HS8L4ow6A@mail.gmail.com> (raw)
In-Reply-To: <CANM4Rug-zLAM6xeX7okyP3ezLoSrKCyTVigf8GVkZxoVodykzA@mail.gmail.com>

23 декабря 2015 г., 11:12 Eugene Prokopiev написал:

> Есть ли способ разрешить доступ к сети внутри hasher? До сих пор я
> думал, что share_network=1 именно это и должен делать, однако:

Да, так она и делает, но в виде переменной окружения и должна делать в
конфиге hasher-priv, хотя в последнем случае я получаю:

$ hsh-shell
hsh-shell: Failed to deduce hasher config number from directory ownership.

Помню, что такие сообщения были при неправильных правах на /, однако:

$ ls -ld /
drwxr-xr-x 1 root root 154 дек 17 13:31 /
$ ls -ld ~/hasher/
drwxr-xr-x 6 enp enp 140 дек 23 11:21 /home/enp/hasher/

И без share_network=1 именно в /etc/hasher-priv/system внутрь пускают.

-- 
WBR,
Eugene Prokopiev

  reply	other threads:[~2015-12-23  8:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-23  8:12 Eugene Prokopiev
2015-12-23  8:36 ` Eugene Prokopiev [this message]
2015-12-23 11:47   ` Dmitry V. Levin
2015-12-23 11:46 ` Gleb Fotengauer-Malinovskiy

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=CANM4Ruiq++aRm6Ap8yDgRkE4WPHiqzwkLZ1WVg_e7HS8L4ow6A@mail.gmail.com \
    --to=enp@itx.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