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

Serge Hallyn serge.hallyn at canonical.com
Mon Nov 5 17:35:23 UTC 2012


Quoting Thierry (mysolo at cynetek.com):
> Le 05/11/2012 15:30, Serge Hallyn a écrit :
> > Quoting Thierry (mysolo at cynetek.com):
> >> Hello,
> >>
> >> lxc-console not functionnal after activate lxc.cgroup.devices.deny = a
> > Phew, so it's working correctly.
> >
> > Now add
> >
> > 	lxc.cgroup.devices.allow = c 136:* rwm
> >
> > to allow access to the console devices created by lxc.
> >
> > -serge
> >
> 
> Thanks, but lxc.cgroup.devices.allow = c 136:* rwm is configured on conf
> file for guest lxc and lxc-console not works for me.

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




More information about the lxc-users mailing list