[pkg-lxc-devel] Bug#826100: Inconsistent settings in lxc at .service
Max Kellermann
max at duempel.org
Thu Jun 2 08:56:11 UTC 2016
Package: lxc
Version: 1:2.0.0-3
The file /lib/systemd/system/lxc states:
Type=simple
ExecStart=/usr/bin/lxc-start -n %i
"lxc-start" daemonizes by default, but Type=simple requires that the
main process persists. This makes systemd think the service has
stopped immediately, and will kill the remaining daemonized process.
There are two obvious solutions: Type=forking, or better: add "-F" to
ExecStart.
(Note: I'm using version 1:2.0.0-3~bpo8+1 on Jessie with systemd
215-17+deb8u4)
More information about the Pkg-lxc-devel
mailing list