ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei.mezin@gmail.com>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Научите готовить lxc без systemd
Date: Thu, 14 Apr 2016 23:49:28 +0300
Message-ID: <neovoo$vg2$1@ger.gmane.org> (raw)
In-Reply-To: <nemkj2$s0a$1@ger.gmane.org>

14.04.2016 02:26, Alexei V. Mezin пишет:
> А что и как правильно делать на машине БЕЗ systemd?

Ну и сам себе же отвечаю:

1. надо поставить пакет cgroup, который предоставляет сервис cgconfig и 
файл настройки /etc/cgconfig.conf

2.
[root@trserver ~]# grep "^[^#;]"  /etc/cgconfig.conf
mount {
         cpuset = /sys/fs/cgroup/cpuset;
         cpu = /sys/fs/cgroup/cpu;
         cpuacct = /sys/fs/cgroup/cpuacct;
         memory = /sys/fs/cgroup/memory;
         devices = /sys/fs/cgroup/devices;
         freezer = /sys/fs/cgroup/freezer;
         net_cls = /sys/fs/cgroup/net_cls;
         "name=systemd" = /sys/fs/cgroup/systemd;
}

Не знаю, на сколько это правильно. Но по крайней мере после такого 
lxc-start проходит без проблем. Вот еще бы изжить оттуда имя systemd, 
чтоб не мозолило глаза в системе, где его нет.




  reply	other threads:[~2016-04-14 20:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 23:26 Alexei V. Mezin
2016-04-14 20:49 ` Alexei V. Mezin [this message]
2016-04-14 21:59   ` Alexei V. Mezin
2016-04-26  5:53     ` Eugene Prokopiev

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='neovoo$vg2$1@ger.gmane.org' \
    --to=alexei.mezin@gmail.com \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

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

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


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