Bug 863662 - /usr/lib/systemd/fedora-autorelabel should not be using fixfiles -F restore.
Summary: /usr/lib/systemd/fedora-autorelabel should not be using fixfiles -F restore.
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 18
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-10-06 12:46 UTC by Daniel Walsh
Modified: 2014-03-17 03:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-12-20 16:08:41 UTC

Attachments (Terms of Use)

Description Daniel Walsh 2012-10-06 12:46:44 UTC
We only want to run it with

fixfiles restore

Otherwise it could cause tools that store content with MCS labels to change labels.

Comment 1 Daniel Walsh 2012-10-06 12:51:59 UTC
 diff -u /usr/lib/systemd/fedora-autorelabel~ /usr/lib/systemd/fedora-autorelabel
--- /usr/lib/systemd/fedora-autorelabel~	2012-10-06 08:51:08.217475662 -0400
+++ /usr/lib/systemd/fedora-autorelabel	2012-10-06 08:51:19.243554961 -0400
@@ -27,7 +27,7 @@
 	echo $"*** Relabeling could take a very long time, depending on file"
 	echo $"*** system size and speed of hard drives."
-	/sbin/fixfiles -F restore > /dev/null 2>&1
+	/sbin/fixfiles restore > /dev/null 2>&1
     rm -f  /.autorelabel
     systemctl --force reboot

Comment 2 Bill Nottingham 2012-10-08 20:22:51 UTC
Thanks, added to git.

Comment 3 Fedora Update System 2012-10-08 20:49:26 UTC
initscripts-9.41-2.fc18 has been submitted as an update for Fedora 18.

Comment 4 Fedora Update System 2012-10-08 23:54:29 UTC
Package initscripts-9.41-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing initscripts-9.41-2.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-10-31 17:28:57 UTC
initscripts-9.42-1.fc18 has been submitted as an update for Fedora 18.

Comment 6 Fedora Update System 2012-12-20 16:08:43 UTC
initscripts-9.42-1.fc18 has been pushed to the Fedora 18 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.