Your message dated Fri, 26 Dec 2025 19:52:43 +0000
with message-id <[email protected]>
and subject line Bug#1122149: fixed in lxc 1:6.0.5-2
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:

Attachment: 0001-Add-lxc-net-as-dependency-in-sysvinit-script.patch
Description: application/mbox


--- End Message ---
--- Begin Message ---
Source: lxc
Source-Version: 1:6.0.5-2
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 18:51:40 +0000
Source: lxc
Architecture: source
Version: 1:6.0.5-2
Distribution: unstable
Urgency: medium
Maintainer: pkg-lxc <[email protected]>
Changed-By: Mathias Gibbens <[email protected]>
Closes: 983422 1122149 1123979
Changes:
 lxc (1:6.0.5-2) unstable; urgency=medium
 .
   [ Frost ]
   * Add lxc-net dependency to sysvinit script (Closes: #1122149)
 .
   [ Mathias Gibbens ]
   * 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)
   * d/control:
     - Update Standards-Version to 4.7.3, drop Priority field
     - No longer Suggest lxc-templates
   * d/t/control:
     - Add missing dependency on sudo (Closes: #983422)
     - Reenable unprivileged-containers test, which passes in qemu backend
     - No longer skip lxc-test-unpriv, which passes in qemu backend
Checksums-Sha1:
 5bef9f25814f04e77e3dc484bd03d092efe10deb 2929 lxc_6.0.5-2.dsc
 51ca56f6db6e4ec227aa68153753db149f2dd97a 958966 lxc_6.0.5.orig.tar.gz
 ed3acae00aa4a0efe6133c2e02c25cd520d9c261 833 lxc_6.0.5.orig.tar.gz.asc
 37e9609729aa0c6adf1466a011a6deddf0f3d1e3 55128 lxc_6.0.5-2.debian.tar.xz
 5fba01daf84878bd00d68fa2015ed535f7f9a88c 14057 lxc_6.0.5-2_amd64.buildinfo
Checksums-Sha256:
 2e650318ecaf83aa3d5e62440ffa75df3d0ebed060e61acc5a3561e100084931 2929 
lxc_6.0.5-2.dsc
 2e540c60b9dd49e7ee1a4efa5e9c743b05df911b81b375ed5043d9dd7ee0b48a 958966 
lxc_6.0.5.orig.tar.gz
 dc0f55117d36db7b0bd20a3a71c987a71dda8f627025fdaaa9c057ed55572622 833 
lxc_6.0.5.orig.tar.gz.asc
 cfa1f8eb193ef9ecda0f369fdc4835045b356f48c262967634f91417afe630d2 55128 
lxc_6.0.5-2.debian.tar.xz
 bb174e732e2f154b1ac1192c0ae55a8e435efb67d0dac7625e87a47a9c946cf5 14057 
lxc_6.0.5-2_amd64.buildinfo
Files:
 659fb26a3a9d66bc709f65a2287f6f04 2929 admin optional lxc_6.0.5-2.dsc
 b62b28e21b7c06920db313c4df5a80c0 958966 admin optional lxc_6.0.5.orig.tar.gz
 e14dbd3e8d08eb0834d1c0a4f9182193 833 admin optional lxc_6.0.5.orig.tar.gz.asc
 c3a46905e51832e46270c510508cb98f 55128 admin optional lxc_6.0.5-2.debian.tar.xz
 87a8185dcee8a76824bf7267825180cb 14057 admin optional 
lxc_6.0.5-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmlO2lgSHGdpYm1hdEBk
ZWJpYW4ub3JnAAoJECnu4tbs9EL5RUsP+wRl5cgRAr06heaf4ILTW0l/hmS2wW8i
Wh3+aB31Oi0PDi0e+7CHjV+O5YYkqDMTNBMXBKVXnXIL5DvmRuVO7GMfxMPbBYHN
DhAl6IoztOzcZQ5Gyc3CNAIztjpxb1rozSA3OLwQYm7mK+kiq7IsAREM2Zi4fzEq
U+cJl2obDpklpzcDxuXQOfW78mDUs1fRj1jK4IKvZ7QNk8DyhO8zNd6Iafuxd2Q6
MsrKM0qthoL8Xljg6lSYRHSA/fuwkbJ3ss8/9H6a2UE3Sw0pe0au6iqvHyoREPKe
KqzGNPQVgKZf8XgShZt4FX7Iea95atEhr/wC6+lqyTLtDGP8N4++JyXYEf7T8Ogi
xSoH/mIAyWwBC2VxdzWt2nmQECZBK5gWREbyjVoK6iNEsxdcFrOQQPeSPvIsyKhy
YQmrs4OIXpZnVl7EB/H03LuesIsX9kO1omUFaCFzCnm+Ss3zJwmiJ+NpY9QInjK5
wigaFhLtQD98F/kPFRPsS2pvH+rf55vY2f++Wt1stR7DovHGDn/bpUMH6Y1w0BV6
Kh27voAC0LOKsY3TzWogYQlrZetZQbm+3Z+O1zf6DNbkj8rXJh0OLcr4JgfhJWzJ
/iy679oBE3VwW+iMSmgmKYttQNeqxbbdXQzJjTGo7tHeuNjuXuBRgea02xuL4Da8
zIW+wkWA/Sa1
=+rmp
-----END PGP SIGNATURE-----

Attachment: pgppzH0f9mhdd.pgp
Description: PGP signature


--- End Message ---

Reply via email to