ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander <alxste@yandex.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Непривилегированные контейнеры lxd: проброс папки
Date: Tue, 10 Jan 2017 09:22:35 +0300
Message-ID: <650a7627-48f4-756a-33a3-19ef30bc94b0@yandex.ru> (raw)
In-Reply-To: <CABUeJrRr1F3bw2vvDG1ov=vt1oSSK6900vd-mprOYk6iOakwzQ@mail.gmail.com>

09.01.2017 22:47, Aleksey Birukov пишет:
> Сделал, не помогло.
>
> А какая магия нужна с sys/proc?
>
> Даже сделал:
> sudo cgm create all $USER
> sudo cgm chown all $USER $(id -u $USER) $(id -g $USER)
> sudo cgm movepid all $USER $$
> Отсюда:
> https://lists.altlinux.org/pipermail/community/2016-October/686081.html


user namespace по умолчанию в альте запрещены. Нужно разрешить, например 
так:
sysctl -w kernel.userns_restrict=0

Я по той схеме что тогда писал  попробовал воспроизвести на p8 - 
контейнер создался и поднялся, но не заработала сеть в контейнере.
Почему - из за отличий p8 от сизифа или из за того что про что-то забыл 
- так и не разобрался.

С уважением, Александр


      parent reply	other threads:[~2017-01-10  6:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 18:45 ` Alexander
2017-01-10  6:22     ` Alexander [this message]

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=650a7627-48f4-756a-33a3-19ef30bc94b0@yandex.ru \
    --to=alxste@yandex.ru \
    --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