[libvirt] [PATCH] Handle ENOTSUP from setfilecon on FUSE in LXC startup

Daniel P. Berrange berrange at redhat.com
Fri May 17 09:23:57 UTC 2013


On Thu, May 16, 2013 at 01:57:41PM -0600, Eric Blake wrote:
> On 05/16/2013 12:00 PM, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange" <berrange at redhat.com>
> > 
> > The setfilecon method can return ENOTSUP when trying to set
> > the context of the /proc/meminfo FUSE filesystem. We must
> > ignore this error and carry on, to prevent container startup
> > failing entirely
> > 
> > Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> > ---
> >  src/lxc/lxc_container.c | 13 +++++++++----
> >  1 file changed, 9 insertions(+), 4 deletions(-)
> 
> ACK.

I have reverted the broken patch instead, since it seems it can't
work at all.

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