[Pkg-sysvinit-devel] Bug#706676: sysvinit: /sbin/init doesn't support LXC gracefull shutdown via lxc-shutdown

Laurent Vallar val at zbla.net
Fri May 3 09:23:49 UTC 2013


Package: sysvinit
Version: 2.88dsf-41
Severity: important

It seems that init doesn't handle properly SIGPWR inside LXC container,
even after applying a workarround found at :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695568#15

'lxc-shutdown -n <container>' halts gracefully a container but
container's /sbin/init process is left running after, so container
isn't stopped.

You have to do 'lxc-stop -n <container>' or a
'lxc-attach -n <container> -- /bin/kill -9 <init_pid>' to kill remaining
/sbin/init and stop container.

Regards.

-- System Information:
Debian Release: 7.0
  APT prefers wheezy
  APT policy: (990, 'wheezy'), (500, 'wheezy-updates'), (500, 'wheezy-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

version of lxc:
ii  lxc             0.8.0~rc1-8+deb7

Versions of packages sysvinit depends on:
ii  debianutils     4.3.2
ii  initscripts     2.88dsf-41
ii  libc6           2.13-38
ii  libselinux1     2.1.9-5
ii  libsepol1       2.1.4-3
ii  sysv-rc         2.88dsf-41
ii  sysvinit-utils  2.88dsf-41

sysvinit recommends no packages.

sysvinit suggests no packages.

-- no debconf information



More information about the Pkg-sysvinit-devel mailing list