Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 691605 Details for
Bug 904279
Patch to allow passing of -F from /.autorelabel to fixfiles restore to force relabeling of the entire system.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Another pass using Bill's fix but also need to watch for "autorelabel" without the =
autorelabel-cmdline.patch (text/plain), 805 bytes, created by
Daniel Walsh
on 2013-02-01 14:49:40 UTC
(
hide
)
Description:
Another pass using Bill's fix but also need to watch for "autorelabel" without the =
Filename:
MIME Type:
Creator:
Daniel Walsh
Created:
2013-02-01 14:49:40 UTC
Size:
805 bytes
patch
obsolete
>--- fedora-autorelabel.selinux 2013-01-25 17:46:57.480718693 -0500 >+++ fedora-autorelabel 2013-01-31 16:48:43.319455314 -0500 >@@ -27,7 +27,19 @@ > echo $"*** Relabeling could take a very long time, depending on file" > echo $"*** system size and speed of hard drives." > >- /sbin/fixfiles restore > /dev/null 2>&1 >+ [ -z "${cmdline}" ] && cmdline=$(cat /proc/cmdline) >+ >+ autorelabel= >+ if strstr "$cmdline" 'autorelabel' ; then >+ for i in $cmdline; do >+ for item in $(cat /proc/cmdline ) ; do >+ [ ${item} != "autorelabel" ] && [ ${item} != ${item##autorelabel} ] && autorelabel=${item##autorelabel=} >+ done >+ done; >+ else >+ autorelabel=`cat /.autorelabel` >+ fi >+ /sbin/fixfiles ${autorelabel} restore > /dev/null 2>&1 > fi > rm -f /.autorelabel > systemctl --force reboot
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 904279
:
687739
|
690391
|
690477
|
691605
|
691606
|
692721