Bug 684125

Summary: [initscripts] file system not relabeled after touching file /.autorelabel and reboot
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: iarlyy, jonathan, mschmidt, notting, plautrba, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.27-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-14 19:42:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch none

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):
initscripts-9.26-1.fc15

How reproducible:
Always.

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]
patch

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.
https://admin.fedoraproject.org/updates/initscripts-9.27-1.fc15

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.