[lxc-users] Debian and unprivileged LXC not working...

Dirk Geschke dirk at lug-erding.de
Tue Dec 5 16:20:32 UTC 2017


Hi Serge,

> > I am a little bit clueless, I have several systems running with
> > Debian and unprivileged LXC. But newer systems won't start new
> > containers.
> > 
> > Actually I have a Debian stretch, installed the normal way but
> > with lxc-2.0.9 and cgmanager-0.41 installed from sources.
> > 
> > I can setup cgmanager, can do a cgm movepid and it is no problem
> > to download a template. But starting the container does not work,
> > it simply hungs at:
> > 
> >    $ lxc-start -n lxc-test -l trace -o wheezy -F
> 
> I see no bad errors in the log.  When this hangs, can you
> from another terminal see whether 'lxc-ls -f' shows it
> running, and what 'lxc-attach -n lxc-test' does?

that's the funny part: Nothing. There is not one process from 
the subuid range running. It simply hangs before it tries to 
start the container at all. And I have no idea, why.
But with lxc-2.0.8 it works. 

I just installed and started debian wheezy, upgraded it to jessie
and finally to stretch. It works fine.

I now installed lxc-2.0.9 again, tried to start the container again
and nothing happens:

   $ lxc-start -n lxc-test -l trace -o stretch-lxc-2.0.9 -F

That's all. lxc-ls -f and lxc-attach-n lxc-test hangs, too.

I see also three processes of lxc-start:

   $ ps waux |grep lxc-start
   lxc-test 24478  0.0  0.1  51740  4232 pts/0    S+   17:16   0:00
   lxc-start -n lxc-test -l trace -o stretch-lxc-2.0.9 -F
   lxc-test 24487  0.0  0.0  51740   504 pts/0    S+   17:16   0:00
   lxc-start -n lxc-test -l trace -o stretch-lxc-2.0.9 -F
   lxc-test 24492  0.0  0.0  51740   508 pts/0    S+   17:16   0:00
   lxc-start -n lxc-test -l trace -o stretch-lxc-2.0.9 -F

That's really strange...

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