Your message dated Thu, 25 Aug 2016 19:21:32 +0000
with message-id <[email protected]>
and subject line Bug#831691: fixed in lxc 1:2.0.4-1
has caused the Debian Bug report #831691,
regarding Please use lxc.haltsignal = SIGRTMIN+3 for systemd containers
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
831691: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831691
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc
Version: 1:2.0.3-1
Severity: normal
Hi,
he had an interesting discussion today on #pkg-systemd IRC about what
modifications are currently done for LXC containers to work properly
with systemd. Ideally we'd like to make a default systemd installation work
ootb.
Atm, the Debian template hooks up
/etc/systemd/system/sigpwr.target -> /lib/systemd/system/halt.target.
At some point, Martin added a workaround to the systemd package [1].
Systemd upstream is pretty clear though, that (mis)using SIGPWR to
initiate an ordered shutdown is not the preferred way under systemd [2].
If the container manager sends SIGRTMIN+3 to the init process following
the container spec [3], then systemd will shut down nicely.
I therefor suggest, that lxc should use haltsignal = SIGRTMIN+3 for
systemd based containers.
I would set that in the container config file during lxc-create if the
template is for a systemd-based distro.
Regards,
Michael
[1] https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?id=44c3369f9
[2] https://lists.freedesktop.org/archives/systemd-devel/2016-July/037166.html
[3] https://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Source: lxc
Source-Version: 1:2.0.4-1
We believe that the bug you reported is fixed in the latest version of
lxc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Evgeni Golov <[email protected]> (supplier of updated lxc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 25 Aug 2016 19:52:33 +0200
Source: lxc
Binary: lxc lxc-dbg lxc-dev liblxc1
Architecture: source
Version: 1:2.0.4-1
Distribution: unstable
Urgency: medium
Maintainer: pkg-lxc <[email protected]>
Changed-By: Evgeni Golov <[email protected]>
Description:
liblxc1 - Linux Containers userspace tools (library)
lxc - Linux Containers userspace tools
lxc-dbg - Linux Containers userspace tools (debug)
lxc-dev - Linux Containers userspace tools (development)
Closes: 799541 806746 831691
Changes:
lxc (1:2.0.4-1) unstable; urgency=medium
.
[ Antonio Terceiro ]
* debian/rules: create symlinks for each lxc-* binary in
/usr/share/bash-completion/completions/ so that bash completion actually
works
.
[ Evgeni Golov ]
* Imported Upstream version 2.0.4
+ Uses SIGRTMIN+3 for systemd containers (Closes: #831691, #799541)
+ The debian template properly generates locaes (Closes: #806746)
* drop 0020-fix-regression-when-creating-wheezy-containers.patch
* rebase patches ontop of 2.0.4
* add gnupg and dirmngr to recommends
* improve autopkgtest execution, making most autopkgtest run properly
Checksums-Sha1:
dfeb019c8334cbdde1018d56d2ea384c55d38aad 2442 lxc_2.0.4-1.dsc
3e05099104fea188258c834dd5f4f99433955ebd 1065905 lxc_2.0.4.orig.tar.gz
cf3fe3b6830f62a96f2466cb1674c10e44bef7c4 81900 lxc_2.0.4-1.debian.tar.xz
Checksums-Sha256:
03657071cccff215cc232fb924bf8abc65f7d9c7ffed8734a8d464e15922d684 2442
lxc_2.0.4-1.dsc
14c9e699a4bf4e23a420922eb5ae3e163bb151c3d2bf6a3dcbea48c2dd3e9582 1065905
lxc_2.0.4.orig.tar.gz
2955a44bba2c04c2a7e474aa4dfa95d4627d1b0a3bc91cc1f3ccb12ff490f689 81900
lxc_2.0.4-1.debian.tar.xz
Files:
b8a78cb0b56c2559b124cca451ebad27 2442 admin optional lxc_2.0.4-1.dsc
28db4dbacf860ae742138c0ed8dbf14c 1065905 admin optional lxc_2.0.4.orig.tar.gz
3874345cbcd6e8978d7cc8675aa7239f 81900 admin optional lxc_2.0.4-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJXv0JOAAoJEKGwm0IzOWHo8/cQALMTMd2TLPlkrwyvRNeve1ZA
6HqgZq/VqNWXQBK4p7TuikQMIMcTbHqP+659r6FPUvoNWOIPILjipka8fu6d9Q1+
VP6i4nHf5bj9fY1Q+AGSupFJ+IzZWedlCufncNVWv5g+kDu/9tPKirMIuScZP3et
sbsqQ5aYi5XYaLIAXd5HzceN9/OEtbbrE/yFHcJSChePw0+WUzRIfCjgSbq0Uneo
/JuZpsyLxWR0LIHBitpqkJ54n5YwNkt+1XOOncC1VHaReWOZJKg8Cqw7Ff4gWsKz
Wl+DZSFaN10MrLJbudBMUsTbew4hpeLR1qS9G2zvohiErQG3+0ZSMloeOUdrO7qC
2O6Fj40RHozFdKJHaq7uIgTYEFId3Jm6NtEZTw6dDkwWmKiZJRmvcLbQYOAbUnmZ
GV728WjLEPWoOlYFlHvYPQIwcHtgZvnt4JkWzuEOewrUpl1lr/ZSQuYe57WG98F7
hkYESzfT2xEKn1Gqr5c7lYNy522WGdDZ0CLc1i73JcNpIyj+ukOPObBJGFj7SNC6
jj3Qr49PevnujDFAZ7NQgDlU9qu4RX8OTvnbQH1qgBeyM0kOhy3IdgARyKuRzWM9
GJLA1Z9LcCovObNMiXDFq21alPZbkWhA/8TjAbDsuf3CcNwNkK3sfHXx2xRj3Utq
aoYgsr2wKO/Mb8vh3/Ff
=cMW5
-----END PGP SIGNATURE-----
--- End Message ---