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

Eric Blake eblake at redhat.com
Thu May 16 19:57:41 UTC 2013


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.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130516/bedd9260/attachment-0001.sig>


More information about the libvir-list mailing list