Bug 479054 - fixfiles restore should have the -F flag added.
Summary: fixfiles restore should have the -F flag added.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 488585 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-06 19:19 UTC by Daniel Walsh
Modified: 2014-03-17 03:16 UTC (History)
3 users (show)

Fixed In Version: 8.86.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-06 19:28:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to add -F option (547 bytes, application/octet-stream)
2009-01-06 19:20 UTC, Daniel Walsh
no flags Details

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.


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