[lxc-users] cgmanager+lxc-attach

Serge Hallyn serge.hallyn at ubuntu.com
Tue Feb 18 16:50:01 UTC 2014


Quoting Tamas Papp (tompos at martos.bme.hu):
> hi,
> 
> It looks failing:
> 
> # lxc-attach -l DEBUG -n ns2 /bin/ls
> lxc_container: call to cgmanager_move_pid_sync failed: invalid request
> lxc_container: Failed to enter group /lxc/ns2-2
> lxc_container: error communicating with child process
> 
> 
> I'm not able to get more output from it except strace, if it helps.

Hi Tamas,

where did you get the lxc and cgmanager binaries from?  Are you at
the very latest versions?

Can you show /proc/self/cgroups and the ownership of those
cgroups in the shell where you start lxc-attach?

Does lxc-console work?

Unfortunately '-l DEBUG' doesn't actually show all the output on
stdout/err.  Could you do

lxc-attach -l INFO -o attach.out -n ns2 /bin/ls

and then show attach.out?

-serge


More information about the lxc-users mailing list