[Lxc-users] [systemd-devel] Unable to run systemd in an LXC / cgroup container.
Serge Hallyn
serge.hallyn at canonical.com
Wed Dec 5 17:09:43 UTC 2012
Quoting Michael H. Warfield (mhw at WittsEnd.com):
> You have to add an option to the config file for your systemd
> containers.
>
> lxc.autodev = 1
Phrasing it this way makes me wonder, should lxc look for
'$rootfs/dev/console' and automatically set lxc.autodev if
that is not found?
(Right now if lxc.autodev is 1 then the tmpfs /dev is mounted
before all the lxc.mount.entries and /var/lib/lxc/$c/fstab
entries, but I can't right now think of a reason why it has
to stay that way. If we were to always set lxc.autodev if
/dev is empty, we'd want to make sure any separate /dev has
been mounted, of course.)
-serge
More information about the lxc-users
mailing list