Bug 983969 - RFE: virt-sysprep should be SELinux-aware
Summary: RFE: virt-sysprep should be SELinux-aware
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On: 1089100
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-12 12:21 UTC by Richard W.M. Jones
Modified: 2016-07-14 14:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-14 14:47:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2013-07-12 12:21:41 UTC
Description of problem:

'virt-sysprep --selinux' flag should:

  loadpolicy

(for guests which support this) so that SELinux labelling
works properly.  When this flag is specified, DON'T set
autorelabel.  The autorelabel step takes too long!

(Requested by Mark @ catn.com)

Comment 1 Pino Toscano 2014-06-10 15:47:35 UTC
Since libguestfs 1.26 virt-sysprep has --selinux-relabel which should do the job (either relabel files if possible, or touch /.autorelabel if not), modulo bugs (#1089100).

Should this be closed at this point, leaving #1089100 (and eventually others) to deal with bugs of --selinux-relabel?

Comment 2 Richard W.M. Jones 2014-06-10 16:57:29 UTC
Even better, let's make it a dependency ...


Note You need to log in before you can comment on or make changes to this bug.