Bug 181893
Summary: | SELinux not re-enabled after relabel | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <scop> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | akpm, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 8.30-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-17 22:04:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ville Skyttä
2006-02-17 16:42:04 UTC
... if [ -n "$SELINUX" ]; then if [ -f /.autorelabel ] || strstr "$cmdline" autorelabel ; then relabel_selinux fi ... So it should be set. Hm, indeed, so it's not unset. But hey, look what happens in relabel_selinux(): . /etc/selinux/config # note: results in SELINUX=enforcing [...] echo "0" > $selinuxfs/enforce [...] echo $SELINUX > $selinuxfs/enforce ...and testing that from the console: # echo enforcing > /selinux/enforce bash: echo: write error: Invalid argument Haha. See a few lines above: . /etc/selinux/config Read that file. I suppose we need to pick a different variable in rc.sysinit. OK, I'm blind today. Sorry. Fixed in CVS, will show up eventually. *** Bug 182409 has been marked as a duplicate of this bug. *** |