[Lxc-users] lxc-setcap 'Failed to set capabilities on file /usr/local/libexec/lxc-init'

Frank Scholten frank at frankscholten.nl
Fri Oct 12 16:57:57 UTC 2012


Hi all,

I want to run non-root LXCs and I read I have to run sudo lxc-setcap
first.  I am running Ubuntu 12.04 btw.

So I cloned the git repo, ran ./configure, make, make install but when
I run lxc-setcap I get:

root at franktop:/usr/local/libexec# lxc-setcap
Failed to set capabilities on file `/usr/local/libexec/lxc-init' (No
such file or directory)

Turns out lxc-init exists under /usr/local/libexec/lxc/lxc-init

Is this an error in the Makefile?

Cheers,

Frank




More information about the lxc-users mailing list