[lxc-users] unprivileged container with systemd?

Dirk Geschke dirk at lug-erding.de
Mon Feb 9 20:30:34 UTC 2015


Hi Serge,

> now I started lxcfs within gdb:
> 
> (gdb) where
> #0  0x00007ffff706b610 in __recvmsg_nocancel ()
>     at ../sysdeps/unix/syscall-template.S:82
> #1  0x0000000000403cdd in recv_creds (sock=8, cred=0x7fffffffe5b0, 
>     v=0x7fffffffe5af "1\377\377\377\377\377\377\377\377\377\377\377\377\001")
>     at lxcfs.c:799

hmm, maybe this is the reason? There is a Zombie in the process 
list:

root     27218  0.0  0.0      0     0 pts/1    Z    20:51   0:00 [lxcfs]
<defunct>

So probably lxcfs forks off a second copy of itself and communicates
via a socketpair with each other. But if the one fails, it won't
answer?

This one is a child of the first one:

$ ps -lp 27218
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
5 Z     0 27218 26992  0  80   0 -     0 ?      pts/1    00:00:00 lxcf <defunct>

Maybe it is an lxcfs problem at all?

Best regards

Dirk

-- 
+----------------------------------------------------------------------+
| Dr. Dirk Geschke       / Plankensteinweg 61    / 85435 Erding        |
| Telefon: 08122-559448  / Mobil: 0176-96906350 / Fax: 08122-9818106   |
| dirk at geschke-online.de / dirk at lug-erding.de  / kontakt at lug-erding.de |
+----------------------------------------------------------------------+


More information about the lxc-users mailing list