Bug 684125 - [initscripts] file system not relabeled after touching file /.autorelabel and reboot
Summary: [initscripts] file system not relabeled after touching file /.autorelabel and...
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 15
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2011-03-11 08:11 UTC by Joachim Frieben
Modified: 2014-03-17 03:26 UTC (History)
6 users (show)

Fixed In Version: initscripts-9.27-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-03-14 19:42:11 UTC

Attachments (Terms of Use)
patch (1.17 KB, text/plain)
2011-03-11 16:18 UTC, Bill Nottingham
no flags Details

Description Joachim Frieben 2011-03-11 08:11:29 UTC
Description of problem:
After touching file /.autorelabel and rebooting the system, the file system does not get relabeled.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Touch /.autorelabel.
2. Reboot system.
Actual results:
System boots without relabeling the file system.

Expected results:
System boots after relabeling the file system.

Additional info:
- Relabeling the file system used to work until recently.
- File /.autorelabel will never get removed, not even after several boot cycles.

Comment 1 Joachim Frieben 2011-03-11 13:34:38 UTC
The file system -does- get relabeled after adding "autorelabel" to the kernel boot options instead of touching /.autorelabel.

Comment 2 Bill Nottingham 2011-03-11 16:18:39 UTC
Created attachment 483765 [details]

Try the attached patch (for /lib/systemd/system). Does this help?

Comment 3 Bill Nottingham 2011-03-11 16:42:55 UTC
Fixed in git as http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=89032e9049921024fa65c292adb48bc8eba1e5a0, will be in 9.27-1.

Comment 4 Joachim Frieben 2011-03-11 22:47:26 UTC
(In reply to comment #2)
The suggested modifications actually do fix the issue.

Comment 5 iarly selbir 2011-03-14 19:42:30 UTC
Thanks for your report.

Fedora Bugzappers Team Member

Comment 6 Michal Schmidt 2011-03-18 15:29:55 UTC
The update: https://admin.fedoraproject.org/updates/initscripts-9.27-1.fc15

iarly, in the future please do not mark bugs as CLOSED ERRATA before the fixed package is even built.

Comment 7 Fedora Update System 2011-03-18 19:12:52 UTC
initscripts-9.27-1.fc15 has been submitted as an update for Fedora 15.

Comment 8 Fedora Update System 2011-03-19 05:51:43 UTC
initscripts-9.27-1.fc15 has been pushed to the Fedora 15 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.