Created attachment 358877 [details]
THis patch removes check to see if SELinux is enabled and switches restorecon to setfiles.
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
setfiles can lay down labels on machines with SELinux disabled.
If the livecd is broken it is probably the fault of one of the rpm packages.
Theoretically this should just work.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Can we try to merge this to git.
I have went ahead and tested the patch and update it to apply clean against what is in git.
I have confirmed that if selinux-policy-targeted and policycoreutils are installed with the kickstart file used with livecd-creator the files inside the Live image have contexts properly set.
This is with SELinux disabled on my host machine. Please apply.
Created attachment 436610 [details]
Allow building SELinux LiveCD from non-SELinux hosts
Committed to git.
Aug 15 2010