[lxc-users] Unprivileged Systemd-based Containers

Dirk Geschke dirk at lug-erding.de
Mon Jan 26 12:45:03 UTC 2015


Hi Christian,

I just tried it, too...

> I just tried it. Downloaded it, unpacked it:
> 
>     ./configure && make && sudo make install
> 
> Then I followed the github lxcfs explanation:
> 
>     sudo mkdir -p /var/lib/lxcfs
>     sudo lxcfs -s -f -o allow_other /var/lib/lxcfs

That's wrong here, if you compile it per default, then the 
path is below /usr/local/, so this would be right:

   sudo mkdir -p /usr/local/var/lib/lxcfs
   sudo lxcfs -s -f -o allow_other /usr/local/var/lib/lxcfs

Then I had to include into my config file (lxc-1.0.7):

   lxc.include = /usr/local/share/lxcfs/00-lxcfs.conf
   lxc.kmsg = 0

With these settings I got further, but only up to:

   Failed to insert module 'autofs4'
   Set hostname to <jessie1>.
   Failed to configure loopback device: Operation not supported
   Failed to install release agent, ignoring: No such file or directory

And that's it. I have to kill it and restart even lxcfs to 
get it up again.

But I think, this is fixable somehow...

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