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

