[lxc-users] cgmanager+lxc-attach

Tamas Papp tompos at martos.bme.hu
Fri Feb 21 23:40:47 UTC 2014


On 02/21/2014 05:49 PM, Serge Hallyn wrote:
> Sorry, I'm afraid not :(  But so move_pid is what is failing...
> which means the create and chown calls have already succeeded.
>
> If you can tell me that today, with latest uptodate packages from
> ppa on precise, it still fails, then I will - probably on monday -
> try to reproduce and nail it down.

Hmm, it is working, if cgmanager is stopped:

Without:

     lxc-attach 1393025778.900 WARN     lxc_log - lxc_log_init called
with log already initialized
     lxc-attach 1393025778.901 WARN     lxc_log - lxc_log_init called
with log already initialized
     lxc-attach 1393025778.901 ERROR    lxc_cgmanager - call to
cgmanager_move_pid_sync failed: invalid request
     lxc-attach 1393025778.901 ERROR    lxc_cgmanager - Failed to enter
group /lxc/elf-mail
     lxc-attach 1393025778.902 ERROR    lxc_attach - error communicating
with child process

With:

root at elf:~/1# cat without
     lxc-attach 1393025798.197 WARN     lxc_log - lxc_log_init called
with log already initialized
     lxc-attach 1393025798.264 WARN     lxc_attach - could not change
directory to '/root/1'
     lxc-attach 1393025798.265 INFO     lxc_apparmor - changed apparmor
exec profile to lxc-container-default

ii  lxc                                            
1.0.0+master~20140220-2000-0 amd64                        Linux
Containers userspace tools
ii  lxc                                            
1.0.0+master~20140220-2000-0 amd64                        Linux
Containers userspace tools


Thanks for the help.

tamas


More information about the lxc-users mailing list