LXC breakage and workarounds when upgrading VMs to jessie

Tomas Pospisek tpo_deb at sourcepole.ch
Mon Nov 24 06:48:28 GMT 2014


On Mon, 24 Nov 2014, Marco d'Itri wrote:

> On Nov 24, Tomas Pospisek <tpo_deb at sourcepole.ch> wrote:
>
>> My first proposed text for the release-notes is below. Please let me
>> know if you prefer me to submit a proper patch against a SVN checkout of
>> ddp.
>
> Please also clarify that LXC containers *can* use systemd with no
> troubles if correctly configured.

Could you please clarify what needs to be done to correctly configure a 
LXC container?

* Is it sufficient to set: "lxc.autodev = 1" in /var/lib/lxc/myvm/config?

* Does an upgrade also automatically switch to journald?

   * In which case one *must* also set "lxc.kmsg=0" in
     "/var/lib/lxc/myvm/config" and remove "/dev/kmsg" inside the VM?

* Is it possible to switch a system configured in such a way back and
   forth between systemd and sysvinit without having to change anything
   but the package selection? Or does that imply removing the configuration
   changes, i.e. removing "lxc.autodev = 1" and "lxc.kmsg=0" and recreating
   /dev/kmsg?

* Is it possible to run the upgraded VM, that is correctly configured as
   you suggest on a normal wheezy host? Does the wheezy host need any
   special configuration?

Thanks,
*t




More information about the Pkg-systemd-maintainers mailing list