Your message dated Sun, 18 Jun 2017 14:51:53 +0000
with message-id <[email protected]>
and subject line Bug#863850: fixed in lxc 1:2.0.8-1
has caused the Debian Bug report #863850,
regarding systemd service file does not stop systemd-based 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.)
--
863850: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863850
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc
Version: 1:2.0.7-2
Hello,
Debian's packaged version of LXC currently is not able to stop systemd-based
containers as they have not responded to SIGPWR as of
https://github.com/lxc/lxc/commit/8eb62c245e9b67b451ba0766f3ecd7c6f2081d73 .
The appropriate way to stop systemd via a signal is to use SIGRTMIN+3 (or, I
think, SIGRTMIN+4). The lxc-stop binary automatically determines whether the
container will respond to this signal and handles it appropriately. Therefore,
we should use that binary with ExecStop instead of using a signal (in the
service file).
This has already been fixed upstream:
https://github.com/lxc/lxc/commit/c08d29b6d134fbb94d2cff0454ce27eb66930c4d
It would be cool if we could package this fix before the release. Here's a
patch:
"""
diff --git a/config/init/systemd/[email protected]
b/config/init/systemd/[email protected]
index 44d11e8e..a2aa2211 100644
--- a/config/init/systemd/[email protected]
+++ b/config/init/systemd/[email protected]
@@ -8,9 +8,9 @@ Documentation=man:lxc-start man:lxc
[Service]
Type=simple
KillMode=mixed
-KillSignal=SIGPWR
TimeoutStopSec=120s
ExecStart=@BINDIR@/lxc-start -F -n %i
+ExecStop=@BINDIR@/lxc-stop -n %i
# Environment=BOOTUP=serial
# Environment=CONSOLETYPE=serial
Delegate=yes
--
2.13.0
"""
Please let me know if you need anything more from me.
Cheers,
JD
--- End Message ---
--- Begin Message ---
Source: lxc
Source-Version: 1:2.0.8-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: Sun, 18 Jun 2017 15:33:06 +0200
Source: lxc
Binary: lxc lxc-dev lxc-tests liblxc1 python3-lxc lua-lxc
Architecture: source
Version: 1:2.0.8-1
Distribution: unstable
Urgency: medium
Maintainer: pkg-lxc <[email protected]>
Changed-By: Evgeni Golov <[email protected]>
Description:
liblxc1 - Linux Containers userspace tools (library)
lua-lxc - Linux Containers userspace tools (Lua bindings)
lxc - Linux Containers userspace tools
lxc-dev - Linux Containers userspace tools (development)
lxc-tests - Linux Containers userspace tools (test binaries)
python3-lxc - Linux Containers userspace tools (Python 3.x bindings)
Closes: 854591 860974 863850
Changes:
lxc (1:2.0.8-1) unstable; urgency=medium
.
[ Evgeni Golov ]
* New upstream version 2.0.8
+ Make lxc-net return non-zero on failure (Closes: #854591)
* drop old patches, all were cherry-picks from upstream
* Use lxc-stop to stop systemd service (Closes: #863850)
.
[ Baptiste Jonglez ]
* Increase the maximum number of inotify listeners (Closes: #860974)
Checksums-Sha1:
c6d9e94560501bd21f477d371aa9d93189b7e8b5 2619 lxc_2.0.8-1.dsc
65883786c24312ab36e53231e312d94851957516 1308705 lxc_2.0.8.orig.tar.gz
25fa382d1e1025a6f0e600a832d01777898f4183 83476 lxc_2.0.8-1.debian.tar.xz
76285a8f0335a2abd8c7c9a9cbbe04bd9f4a8bfb 7849 lxc_2.0.8-1_source.buildinfo
Checksums-Sha256:
bdc32b712c2072f3275d3383562fa58ce7a17d659ca7debe07578947944d8a8e 2619
lxc_2.0.8-1.dsc
0d8e34b302cfe4c40c6c9ae5097096aa5cc2c1dfceea3f0f22e3e16c4a4e8494 1308705
lxc_2.0.8.orig.tar.gz
3a8d6e0acb530ac5124b64cbc97ffeb55f6928477e5760645f083d44794aa930 83476
lxc_2.0.8-1.debian.tar.xz
62c7a5d17d46b86f4adb138dec86691ad0a44741d07e5c7f088ed4931abce4ab 7849
lxc_2.0.8-1_source.buildinfo
Files:
2f497e38e738b0ae7a464076dc8fc506 2619 admin optional lxc_2.0.8-1.dsc
7bfd95280522d7936c0979dfea92cdb5 1308705 admin optional lxc_2.0.8.orig.tar.gz
4d97cb8c0215223563ef3b5b76c0e03b 83476 admin optional lxc_2.0.8-1.debian.tar.xz
acfbbc2597ffc95a8645441d5a151649 7849 admin optional
lxc_2.0.8-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEExXWpV+gZuhi/B+dmobCbQjM5YegFAllGhhkACgkQobCbQjM5
YegzGA//Tozc67WcI1TjqyugmQ7w33u+ddG8bQ7qNY/j4tFolkQN5PwU/gPjJg3x
BKSTym9bLGrQr7qXL7mng+VSQfdpV60aCN97uKknUHRjczxLXIg9S2uAZQaDUqaQ
PFVFdJluQ+xipCyFg8A4W5RU6kds34uFyCzi3ED3NpucCyCFEyJHgUwYSAODaxz3
Mxh0SmYPQmLGlJXfMLBdmo6u254v8xvQeDkX7LAPe6z0O0kAQbuFUZ8z3NLoL72d
ixzixfYJ1rpxspxCea4PTHCjpW0OnhaS5C0Tngxl6IPqX7mGq5gPRnNSZK9DlYB9
blPKTEq7fFg53xyV6Ueb3mwx2f3KUAj7nm6H8Mjb4mZzLdSeOg4bplhhUvjuQSnV
/4QRdQw5C8vJqfIi8stGREzCfHJEkmkVpGOj4ounXIves1qQE1P+B5/UM3J2Bzdu
R4cxhpzlCsiXSlnYdeuPN0faOfNvEML1gavL15DSgV4Lotfevj/21SsYeP7NcZQW
TP45DANNa+La5y+q5LH3h6WtzGtZ9Yl/Okda/+9cw9W8ujCQL2gLwxYOyutwT98b
AeJMg4aFA/OZk4QMW/ZwXkblUIQy2k5sAEHM/l+2s0pX+lXRKSF2q1Z5v3LdPNQQ
VIZl5PMl1rsEmye3UirDn8iuLfx4SpcZsN9BQVNk0hDa2Rib7JU=
=li9V
-----END PGP SIGNATURE-----
--- End Message ---