Bug 479054

Summary: fixfiles restore should have the -F flag added.
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: notting, rvokal, txtoth
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.86.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-06 19:28:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to add -F option none

Description Daniel Walsh 2009-01-06 19:19:15 UTC
Description of problem:

A couple of customers are switching from targeted policy to MLS policy.  The mechanism to do this is to change the /etc/selinux/config file, touch /.autorelabel; reboot

/etc/rc.sysinit sees the flag file and attempts to relabel the system, but it does not change labels on user homedirectories if the user componant "unconfined_u" is the only section of the file context that has changed.  Adding the -F flag forces the relabel of all files.

Comment 1 Daniel Walsh 2009-01-06 19:20:33 UTC
Created attachment 328305 [details]
Patch to add -F option

Needed for F10 and Rawhide.

Comment 2 Bill Nottingham 2009-01-06 19:26:46 UTC
http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=6301b2ffb38f91906ffb329931a00fc9e8d6590e

Cherry-picked to F10 branch, as well - update will come at some point in the future.

Comment 3 Bill Nottingham 2009-03-04 21:12:20 UTC
*** Bug 488585 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2009-04-02 18:04:59 UTC
initscripts-8.86.1-1 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/initscripts-8.86.1-1

Comment 5 Fedora Update System 2009-04-03 04:16:40 UTC
initscripts-8.86.2-1 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/initscripts-8.86.2-1

Comment 6 Fedora Update System 2009-04-22 20:23:09 UTC
initscripts-8.86.3-1 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.