ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
To: ALT Linux Community general discussions
	<community@lists.altlinux.org>,
	ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [Comm] [sisyphus]  LXC и systemd  244-alt1
Date: Wed, 11 Dec 2019 04:59:24 +0300
Message-ID: <20191211015312.GA175672@portlab> (raw)
In-Reply-To: <CAEdvWkTyYQDOR6RfdAHOSBok=ewVXTkDZgZO3+u0w0ZxPprAhA@mail.gmail.com>

On Wed, Dec 11, 2019 at 03:35:31AM +0300, Alexey Shabalin wrote:
> ср, 11 дек. 2019 г., 2:56 Vladimir D. Seleznev <vseleznv@altlinux.org>:
> 
> > Здравствуйте!
> >
> > systemd, начиная с 244-alt1, перешёл на unified cgroup
> > hierarchy. Текущая версия LXC в Сизифе не может работать без cgroups
> > v1.
> 
> 
> Это у нас так LXC собран? В апстриме года 2 назад добавили поддержку cgroup
> v2.

У нас сейчас собрана версия 3.0.4, релиз который был около 21 июня 2019
года. Поддержку cgroups v2 апстрим, конечно, добавил, но при этом требование
cgroups v1 осталось [1] [2].

> В качестве временного решения можно вернуться на hybrid cgroup
> > hierarchy, передав в качестве аргумента командной строки ядра:
> >
> > systemd.unified_cgroup_hierarchy=0
> >
> 
> А зачем совсем отключать? Разве hybrid нельзя?

Я, может быть, неправильно понял man systemd(1):

systemd.unified_cgroup_hierarchy
    When specified without an argument or with a true argument, enables
    the usage of unified cgroup hierarchy[9] (a.k.a. cgroups-v2). When
    specified with a false argument, fall back to hybrid or full legacy
    cgroup hierarchy.


[1] http://git.altlinux.org/gears/l/lxc.git?p=lxc.git;a=blob;f=src/lxc/cgroups/cgfsng.c;h=ecd935f70da705fbe91669f9887fd5cee4907c28;hb=faa245b5809c356d0bc598ab660b2c517025c6e3#l685
[2] http://git.altlinux.org/gears/l/lxc.git?p=lxc.git;a=blob;f=src/lxc/cgroups/cgfsng.c;h=ecd935f70da705fbe91669f9887fd5cee4907c28;hb=faa245b5809c356d0bc598ab660b2c517025c6e3#l1966

-- 
   С уважением,
   Владимир Селезнев


  parent reply	other threads:[~2019-12-11  1:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-10 23:56 [Comm] " Vladimir D. Seleznev
2019-12-11  1:59   ` Vladimir D. Seleznev [this message]
2019-12-11 16:47     ` [Comm] [sisyphus] " Alexey Shabalin
2019-12-11  9:24 ` [Comm] " Vladimir Didenko
2019-12-11 17:07   ` Alexey Shabalin

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=20191211015312.GA175672@portlab \
    --to=vseleznv@altlinux.org \
    --cc=community@lists.altlinux.org \
    --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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git