Subject: [PATCH] Add lxc-net as dependency in sysvinit script

From: Frost <[email-masked]>
Date: Sun, 7 Dec 2025 15:56:49 -0800

Otherwise containers don't start during boot, but come up fine later.
---
 config/init/sysvinit/lxc-containers.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/init/sysvinit/lxc-containers.in b/config/init/sysvinit/lxc-containers.in
index f793d20..5543b05 100644
--- a/config/init/sysvinit/lxc-containers.in
+++ b/config/init/sysvinit/lxc-containers.in
@@ -9,8 +9,8 @@
 # Provides: lxc
 # Required-Start: $syslog $remote_fs
 # Required-Stop: $syslog $remote_fs
-# Should-Start: cgroupfs-mount
-# Should-Stop: cgroupfs-mount
+# Should-Start: cgroupfs-mount lxc-net
+# Should-Stop: cgroupfs-mount lxc-net
 # Default-Start: 2 3 4 5
 # Default-Stop: 0 1 6
 # Short-Description: Bring up/down LXC autostart containers
-- 
2.51.0