]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
LXC: workaround machined uncleaned data with containers running systemd.
authorCédric Bosdonnat <cbosdonnat@suse.com>
Mon, 30 Sep 2013 14:46:29 +0000 (16:46 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 30 Sep 2013 15:47:23 +0000 (16:47 +0100)
commitbd773e74f0d1d1b9ebbfcaa645178316b4f2265c
tree42002d55e7868e1a4eefc1e7e6932750f287d3fd
parentedc61bf63eb7eb9732d0e4f888a37cacbb942bf8
LXC: workaround machined uncleaned data with containers running systemd.

The problem is described by [0] but its effect on libvirt is that
starting a container with a full distro running systemd after having
stopped it simply fails.

The container cleanup now calls the machined Terminate function to make
sure that everything is in order for the next run.

 [0]: https://bugs.freedesktop.org/show_bug.cgi?id=68370
src/libvirt_private.syms
src/lxc/lxc_process.c
src/util/virsystemd.c
src/util/virsystemd.h
tests/virsystemdtest.c