LXC container with Ubuntu for hardwario cannot start.
lxc-start hardwario 20221025174415.966 ERROR cgfsng - cgroups/cgfsng.c:cg_legacy_set_data:2712 - No such file or directory - Failed to setup lim
its for the “devices” controller. The controller seems to be unused by “cgfsng” cgroup driver or not enabled on the cgroup hierarchy
lxc-start hardwario 20221025174415.966 ERROR cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits_legacy:2761 - No such file or directory - Failed to s
et “devices.allow” to “c 188:* rwm”
lxc-start hardwario 20221025174415.966 ERROR start - start.c:lxc_spawn:1881 - Failed to setup legacy device cgroup controller limits
lxc-start hardwario 20221025174415.967 ERROR start - start.c:__lxc_start:2053 - Failed to spawn container “hardwario”
lxc-start hardwario 20221025174415.968 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start hardwario 20221025174415.968 ERROR lxc_start - tools/lxc_start.c:main:314 - Additional information can be obtained by setting the --lo
gfile and --logpriority options
Uunchanged configuration, which worked before upgrade:
Template used to create this container: /usr/share/lxc/templates/lxc-download
Parameters passed to the template: --dist Ubuntu --release Hirsute --arch armv7l --server repo.turris.cz/lxc --no-validate
For additional config options, please look at lxc.container.conf(5)
Uncomment the following line to support nesting containers:
#lxc.include = /usr/share/lxc/config/nesting.conf
(Be aware this has security implications)
# Some workarounds
Template to generate fixed MAC address
Distribution configuration
lxc.arch = armv7l
Container specific configuration
lxc.include = /usr/share/lxc/config/common.conf
lxc.hook.start-host = /usr/share/lxc/hooks/systemd-workaround
lxc.rootfs.path = dir:/mnt/sda1/hardwario/rootfs
lxc.uts.name = hardwario
#lxc.cgroup.devices.allow = c 188:* rwm
#lxc.mount.entry = /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file 0 0
#lxc.cgroup.devices.allow = c 10:200 rwm
#lxc.mount.entry = /dev/net dev/net none bind,create=dir 0 0
Network configuration
lxc.net.0.type = veth
lxc.net.0.link = br-lan
lxc.net.0.flags = up
lxc.net.0.name = eth0
lxc.net.0.hwaddr = b2:29:01:e5:e2:4d