[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] guestmount -i and xattrs



On Fri, Jun 08, 2012 at 11:17:09AM +0100, Pádraig Brady wrote:
> I tried to run chcon to set SELinux labels on a guestmounted dir and got:
> 
> chcon: failed to change context of `authorized_keys' to
> `system_u:object_r:ssh_home_t:s0': Operation not supported
> 
> I'm guessing that you need to pass 'seclabel' or 'user_xattr'
> or some such mount option to guestmount to support this.
> I notice you can pass such options through the -m option
> to guestmount, but not -i which we need to use.
> 
> Is there a way to support -i and a subsequent chcon(1)?

No.  mount-local solves this ...

I will file a bug to have this backported for RHEL 6.4.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]