ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <Devel@lists.altlinux.org>
Subject: Re: [devel] hasher share_network=1
Date: Wed, 23 Dec 2015 14:47:36 +0300
Message-ID: <20151223114736.GA31112@altlinux.org> (raw)
In-Reply-To: <CANM4Ruiq++aRm6Ap8yDgRkE4WPHiqzwkLZ1WVg_e7HS8L4ow6A@mail.gmail.com> <CANM4Rug-zLAM6xeX7okyP3ezLoSrKCyTVigf8GVkZxoVodykzA@mail.gmail.com>

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

Hi,

On Wed, Dec 23, 2015 at 11:12:08AM +0300, Eugene Prokopiev wrote:
> 
> Есть ли способ разрешить доступ к сети внутри hasher? До сих пор я
> думал, что share_network=1 именно это и должен делать, однако:

Именно это и делает.

> [enp@altdev facette]$ grep share_network ~/.hasher/config
> share_network=1

Вы, наверное, хотели там написать export.
Но вообще это вряд ли хорошая идея - включать сеть по умолчанию,
лучше share_network=1 hsh-shell.

> $ hsh-shell
> hsh-shell: Failed to deduce hasher config number from directory ownership.
> 
> Помню, что такие сообщения были при неправильных правах на /, однако:

На чрут.

В данном случае, поскольку share_network=1 в конфиге hasher-priv -- это
синтаксическая ошибка, всё перестало работать таким непонятным на вид
образом (диагностика от /usr/libexec/hasher-priv/getugid1.sh потерялась).


-- 
ldv

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

  reply	other threads:[~2015-12-23 11:47 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
2015-12-23 11:47   ` Dmitry V. Levin [this message]
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=20151223114736.GA31112@altlinux.org \
    --to=ldv@altlinux.org \
    --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