[Lxc-users] connecting lxc-console is impossible after deny cgroup by default activated

Serge Hallyn serge.hallyn at canonical.com
Mon Nov 5 19:23:58 UTC 2012


Quoting Thierry (mysolo at cynetek.com):
> My understanding was that you manually set lxc.cgroup.devices.deny = a
> after starting up the container. Is that right, or not? If not, please
> give your full config files for working and not working cases. -serge
> 
> Using only configuration file. Not manually change cgroup after starting.

Ah, hm.

> join config file working and not working.
> 
> tigra debian-dev # diff config_working config_notworking
> 10c10
> < #lxc.cgroup.devices.deny = a
> ---
> > lxc.cgroup.devices.deny = a
> 
> 
> 
> A config file working:
> tigra debian-dev # lxc-start -l DEBUG -o /var/log/lxc/debian-dev.log -n debian-dev -f /etc/lxc/debian-dev/config_working -d

Ok, can you attach or paste /var/log/lxc/debian-dev.log ?

What does 'lxc-checkconfig' show?




More information about the lxc-users mailing list