Your message dated Thu, 01 Jan 2026 22:02:21 +0000
with message-id <[email protected]>
and subject line Bug#1122149: fixed in lxc 1:6.0.4-4+deb13u1
has caused the Debian Bug report #1122149,
regarding lxc: sysvinit script doesn't depend on lxc-net, causing containers to
fail during boot
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.)
--
1122149: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122149
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc
Version: 1:6.0.4-4+b3
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
During boot with OpenRC, lxc autoboot containers don't start properly. But
afterwards, they start just fine.
/etc/init.d/lxc has dependencies that look like this:
# Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# Should-Start: cgroupfs-mount
# Should-Stop: cgroupfs-mount
Adding lxc-net to Should-Start/Stop (like the systemd service has) fixes the
problem. I'm not sure whether it would be better in Should-Start/Stop or in
Required-Start/Stop though.
# Should-Start: cgroupfs-mount lxc-net
# Should-Stop: cgroupfs-mount lxc-net
We ran into this on our trixie server, but our forky desktop doesn't look like
it has this fixed (though I technically didn't try autobooting any containers)
and it's not in the sid branch of the git repo either. So I've edited the
Version field to be the version on our trixie box, even though I'm reporting
from our forky box (sorry that screws up the system info). I've also attached a
git patch if that's helpful.
Thanks!
-- Frost
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.17.8+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled
Versions of packages lxc depends on:
ii debconf [debconf-2.0] 1.5.91
ii dnsmasq-base [dnsmasq-base] 2.91-1
ii iproute2 6.17.0-1
ii iptables 1.8.11-2
ii libapparmor1 4.1.0-1+b1
ii libc6 2.41-12
ii libcap2 1:2.75-10+b2
ii libdbus-1-3 1.16.2-2
ii libgcc-s1 15.2.0-9
ii liblxc-common 1:6.0.5-1
ii liblxc1t64 1:6.0.5-1
ii libseccomp2 2.6.0-2+b1
ii libselinux1 3.9-2
ii nftables 1.1.5-2
Versions of packages lxc recommends:
ii apparmor 4.1.0-1+b1
ii debootstrap 1.0.142
ii dirmngr 2.4.8-4+b1
ii distrobuilder 3.2-4+b1
ii gnupg 2.4.8-4
ii libpam-cgfs 1:6.0.5-1
ii lxcfs 6.0.5-2
ii openssl 3.5.4-1
ii rsync 3.4.1+ds1-7
ii uidmap 1:4.18.0-2
ii wget 1.25.0-2
Versions of packages lxc suggests:
ii btrfs-progs 6.17.1-1
pn criu <none>
ii lvm2 2.03.31-2
ii lxc-templates 3.0.4.89.gc128b96-1
pn python3-lxc <none>
-- debconf information:
lxc/auto_update_config:
0001-Add-lxc-net-as-dependency-in-sysvinit-script.patch
Description: application/mbox
--- End Message ---
--- Begin Message ---
Source: lxc
Source-Version: 1:6.0.4-4+deb13u1
Done: Mathias Gibbens <[email protected]>
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.
Mathias Gibbens <[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: Fri, 26 Dec 2025 19:02:22 +0000
Source: lxc
Architecture: source
Version: 1:6.0.4-4+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: pkg-lxc <[email protected]>
Changed-By: Mathias Gibbens <[email protected]>
Closes: 1118024 1122149 1123979
Changes:
lxc (1:6.0.4-4+deb13u1) trixie; urgency=medium
.
[ Frost ]
* Add lxc-net dependency to sysvinit script (Closes: #1122149)
.
[ Mathias Gibbens ]
* Cherry-pick upstream fix to stop printing misleading errors in
enter_net_ns() (Closes: #1118024)
* Cherry-pick upstream fix for generating
apparmor.d/abstractions/lxc/container-base (partially addresses: #1111087)
* Cherry-pick upstream fix for restarting unprivileged containers
(Closes: #1123979)
Checksums-Sha1:
691305cd7ac85aa898abb673ed614b01efb6bd4e 2704 lxc_6.0.4-4+deb13u1.dsc
08dec36d0076aa803e1bcafb1a7ed1e9e5d629c3 964064 lxc_6.0.4.orig.tar.gz
ef5225cef1d077dcef4b4c54b56d0245e4038314 57848
lxc_6.0.4-4+deb13u1.debian.tar.xz
0c1b8c34395e019c1a871060808c3149c7be3cc2 14373
lxc_6.0.4-4+deb13u1_amd64.buildinfo
Checksums-Sha256:
e1aec8aca832490e47d0a4496eeb7289445cacdaa962b1a2afccfb3b8518f144 2704
lxc_6.0.4-4+deb13u1.dsc
872d26ce8512b9f993d194816e336bf9f3ad8326f22dc24ef0f01f85599fa8b9 964064
lxc_6.0.4.orig.tar.gz
1872d2d22f974fcc0159dba6f0cf0837d0b110b01e3b324e70f9b22c948c90fa 57848
lxc_6.0.4-4+deb13u1.debian.tar.xz
856d50fc542982aa6ceccf7329928a0939743699f621251ddc99c9a661f0f993 14373
lxc_6.0.4-4+deb13u1_amd64.buildinfo
Files:
e741622c71295b9a5035d78c8f1ef7be 2704 admin optional lxc_6.0.4-4+deb13u1.dsc
8ddebe17ef04044cfb66a89ede43dd72 964064 admin optional lxc_6.0.4.orig.tar.gz
953fea77184020aab24442a1ba326070 57848 admin optional
lxc_6.0.4-4+deb13u1.debian.tar.xz
d7f3a72cfefcadece53d9a4083fa578e 14373 admin optional
lxc_6.0.4-4+deb13u1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmlWjLISHGdpYm1hdEBk
ZWJpYW4ub3JnAAoJECnu4tbs9EL5onsP/3cc78euyn1eGvo10LAvzlDsZxpZcJ6A
1EtDk4zOd5ZUrkfDLfUeumlaZszzoXx580fkb28JknseDMeCUVN9ftAvSsd56lE4
IgIRqEWdMNUXZ/tGhY1XDN3QGe38WJv0XrYoSMbmjQ/9ZeaKdzxOJWaF0ucU7t9j
qHUwFkW3MCZGC4XKVkCdy4vVrlwVEph0bJ2hq3JoD/rUFYmsPphkt06N34ZifTpZ
ItL0HINiHQv3q+3UhpWsAVdGS/1Tljod6JWcW7fgoLXc6whii2C/BUp9FEJByWA7
r9IguRZ/RDfkx0YXrFrTAHhs4MGFmY2E38NtGAbUHrBUfPoZdHCSafTMUQwQp75z
aO/+RbAIMQ9lAtu6qN6f0mfOfPDCDKlQ4Lkl/IgiuwSxpqJECp1Q7pipYuaU/fEQ
SFNbr9+lR/eo9DHTHmqmowbSvrtLvyYE18Po1fNCwWYVrqoPyFth25M7ClV+i+ME
tP5dt1FKgQ/4NvyciXEnZlgKqnwvy4WstPHcwTCLA04WSRWlpmJ+xwtGhPuF+md5
xLjPJwOsz3Q2oeA02WAWkTRKBNVaJugCvrhBx1oiiYj94a0GkRjgNovfzxe4dycL
dnfGYTbMJ9+4LUoYFItIAPzmou28s9jOS10OVQfoise4a9i5+a6YgW0VaUb0Pzx9
yd/y+f8+Oel7
=/v2t
-----END PGP SIGNATURE-----
pgpsv78_ggCLQ.pgp
Description: PGP signature
--- End Message ---