[lxc-users] lxc-attach vs python3 attach_wait

Alexander Dreweke lxc at shadowhunt.de
Sat Mar 18 08:34:23 UTC 2017


Hi

after comparing the whole environment again, I found a difference in the
mounts. When using lxc-attach /dev/mqueue gets mounted although it's not
in the config for the container.

After adding
lxc.mount.entry=mqueue dev/mqueue mqueue rw,relatime,create=dir,optional 0 0

to the config, I now can start, stop systemd services through the python 
api as well.

I had a quick look at lxc-attach but could where /dev/mqueue gets mounted.

Best regards
	Alexander


More information about the lxc-users mailing list