Your message dated Sun, 18 Jun 2017 14:51:53 +0000 with message-id <[email protected]> and subject line Bug#854591: fixed in lxc 1:2.0.8-1 has caused the Debian Bug report #854591, regarding lxc-net service exits zero on failure 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.) -- 854591: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854591 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: lxc Version: 1:2.0.6-1~bpo8+1 Severity: normal Tags: patch Dear Maintainer, I found that even though the service lxc-net failed to start because I made some wrong configuration settings the command exists zero. So systemd reports the status of the service as good even though it failed: # service lxc-net status ● lxc-net.service - LXC network bridge setup Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled) Active: active (exited) since Wed 2017-02-08 08:17:32 EST; 21min ago Process: 529 ExecStart=/usr/lib/x86_64-linux-gnu/lxc/lxc-net start (code=exited, status=0/SUCCESS) Main PID: 529 (code=exited, status=0/SUCCESS) CGroup: /system.slice/lxc-net.service Feb 08 08:17:30 dvm2 systemd[1]: Starting LXC network bridge setup... Feb 08 08:17:32 dvm2 lxc-net[529]: dnsmasq: failed to create listening socket for 10.2.2.1: Address already in use Feb 08 08:17:32 dvm2 lxc-net[529]: Failed to setup lxc-net. Feb 08 08:17:32 dvm2 systemd[1]: Started LXC network bridge setup. I check the script for the service and I think the problem is in line 68 in the cleanup() function: http://sources.debian.net/src/lxc/1:2.0.7-1/config/init/common/lxc-net.in/?hl=56#L68 after that line, a call to "exit 1" is missing to make it exit non-zero on failure. I have sent a patch to the upstream repo: https://github.com/lxc/lxc/pull/1425 Let me know if you need further information to fix this. best regards, Carsten Brandt -- System Information: Debian Release: 8.6 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages lxc depends on: ii init-system-helpers 1.22 ii libapparmor1 2.10.95-4~bpo8+2 ii libc6 2.19-18+deb8u7 ii libcap2 1:2.24-8 ii liblxc1 1:2.0.6-1~bpo8+1 ii libseccomp2 2.2.3-3~bpo8+1 ii libselinux1 2.3-2 ii lsb-base 4.1+Debian13+nmu1 ii python3-lxc 1:2.0.6-1~bpo8+1 pn python3:any <none> Versions of packages lxc recommends: ii bridge-utils 1.5-9 ii debootstrap 1.0.86~bpo8+1 ii dirmngr 1.1.1-5 ii dnsmasq-base 2.72-3+deb8u1 ii gnupg 1.4.18-7+deb8u3 ii iptables 1.4.21-2+b1 ii libpam-cgfs 2.0.5-1~bpo8+1 ii lxcfs 2.0.5-1~bpo8+1 ii openssl 1.0.1t-1+deb8u5 ii rsync 3.1.1-3 ii uidmap 1:4.2-3+deb8u1 Versions of packages lxc suggests: pn apparmor <none> pn btrfs-tools <none> pn lvm2 <none> -- no debconf information
--- 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 ---

