Bug 1268901
Summary: | wrong selinux context on /etc/rsyslog.conf after running spindown-disk | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Tereza Cerna <tcerna> | |
Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> | |
Status: | CLOSED ERRATA | QA Contact: | Tereza Cerna <tcerna> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.3 | CC: | jeder, jskarvad, paullee0 | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | tuned-2.7.0-1.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1305270 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-04 07:25:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1305270 |
Description
Tereza Cerna
2015-10-05 15:07:14 UTC
It's because it uses 'cp' and doesn't fix the context. Upstream fix: https://git.fedorahosted.org/cgit/tuned.git/commit/?id=239fb7899256956b5fda19e0329402bee7c36ed3 Similar in 6.x ? No fix for 6.x? (Bug 1201966) https://bugzilla.redhat.com/show_bug.cgi?id=1201966 (In reply to paul from comment #4) > Similar in 6.x ? No fix for 6.x? > > (Bug 1201966) > https://bugzilla.redhat.com/show_bug.cgi?id=1201966 Right, thanks for pointing it out, I am cloning the bug to RHEL-6 to keep the context. Regarding the bug 1201966, if the issue is fixed for you by the commit from the comment 3, feel free to close it as a dupe. Thanks! I have a system probably 6.1 which later I found suffering same context problem, but originally in Bug 1201966 reported another seems related problem: "The /etc/rsyslog.conf is restored to a default template upon system reboot. Any changes to that file is lost after that reboot...." Hope this help. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2479.html |