[libvirt] LXC: capset fails with userns
Daniel P. Berrange
berrange at redhat.com
Tue Feb 25 16:09:52 UTC 2014
On Tue, Feb 25, 2014 at 04:50:47PM +0100, Stephan Sachse wrote:
> w/ userns:
> [root at fedora2 ~]# setcap 'cap_net_admin,cap_net_raw+ep' /usr/bin/ping
> Failed to set capabilities on file `/usr/bin/ping' (Operation not permitted)
> [root at fedora2 ~]# id
> uid=0(root) gid=0(root) groups=0(root)
Can you check /proc/self/status to see the capabilities mask
you have.
> is there a way to get this working?
Also what kernel version are you using ? I'd pretty much be expecting
this to just work already.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list