A few days ago I added some sound loopback (aloop) stuff to run jitsi in a container. I put this into the lxc/673.conf
lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow = c 116:2 rwm
lxc.cgroup.devices.allow = c 116:4 rwm
lxc.cgroup.devices.allow = c 116:3 rwm
lxc.cgroup.devices.allow = c 116:6 rwm
lxc.cgroup.devices.allow = c 116:5 rwm
lxc.cgroup.devices.allow = c 116:1 rwm
lxc.cgroup.devices.allow = c 116:33 rwm
then I mknod'd and chowned the /dev/snd devices in the CT, etc. It all works.
Come back to the host and now pct list wont work:
If I shutdown the ct, then all is well. If I start it again, same problem immediately.
lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow = c 116:2 rwm
lxc.cgroup.devices.allow = c 116:4 rwm
lxc.cgroup.devices.allow = c 116:3 rwm
lxc.cgroup.devices.allow = c 116:6 rwm
lxc.cgroup.devices.allow = c 116:5 rwm
lxc.cgroup.devices.allow = c 116:1 rwm
lxc.cgroup.devices.allow = c 116:33 rwm
then I mknod'd and chowned the /dev/snd devices in the CT, etc. It all works.
Come back to the host and now pct list wont work:
Code:
can't open '/sys/fs/cgroup/cpuacct/lxc/673/ns/cpuacct.stat' - No such file or directory
If I shutdown the ct, then all is well. If I start it again, same problem immediately.