[Libguestfs] [PATCH 2/2] Use setfiles from the appliance for the SELinux relabel (RHBZ#1089100).

Richard W.M. Jones rjones at redhat.com
Tue May 27 17:02:16 UTC 2014


On Tue, May 27, 2014 at 04:43:31PM +0200, Pino Toscano wrote:
> At this point I'm thinking the best option would be making the root a 
> normal (mandatory) argument, leaving path and contexts as optional (with 
> the former being "/" as default value, and the latter as "find it from 
> the root").

IIUC, that would force people to use inspection in order to relabel
filesystems.  That would prevent Colin's use-case (because libguestfs
cannot currently inspect ostree guests, although that in itself is a
bug, certainly once ostree becomes established and widely used).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list