lxc initscript needs sysfs to mount cgroups as dependency
Starting lxc containers on bootup fails because cgroup filesystems are mounted later.
Adding ‘sysfs’ to the needed boot dependencies corrects this problem.
—- /etc/init.d/lxc.apk-new
+ /etc/init.d/lxc
@@ –9,7 +9,7 @@
extra_started_commands=“reboot”
depend() {
- need localmount
- need localmount sysfs
after firewall net
}
(from redmine: issue id 6484, created on 2016-11-23, closed on 2017-05-22)
- Changesets:
- Revision 9c047273 by Timo Teräs on 2016-11-23T18:41:27Z:
main/lxc: add initd dependency on sysfs
ref #6484
- Revision 93fc63d5 by Timo Teräs on 2016-11-23T18:42:26Z:
main/lxc: add initd dependency on sysfs
fixes #6484