[lxc-users] Something changed between 1.1.2 and 1.1.4 for unprivileged containers?

Dirk Geschke dirk at lug-erding.de
Fri Oct 16 11:17:04 UTC 2015


Hi Fajar,

> > Yes, it exists. But I think it is only used, if the containers are
> > started by the user root?
> 
> So you see, first it mounts the rootfs, then other supporting files/dirs.
> 
> My guess is you somehow haven't mounted /sys and /dev on the container
> (which lxc should do with default config), so that deeper mounts (e.g.
> "/sys/fs/fuse/connections", "/dev/tty") fails.
> 
> Do you use custom lxc config file? Does it work if you create a NEW
> container using the download template?

that's a good hint, but I use the default debian settings and a few
bind mounts.

But I tried to start it with -F and this works???

Strange, I restarted it again without -F and it fails. Then I added
-F again and it works (beside some minor issues like no direct root
login possible on console).

Hmm, what's the difference here? Is there a must for a console in
ordert to start?

Do you have an idea, what's going wrong? 

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