Bug 850670
Summary: | SELinux is preventing /usr/bin/python2.7 from 'read' accesses on the file /etc/nsswitch.conf. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Luya Tshimbalanga <luya> | ||||||||
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | abrt_hash:cf6a6dc16c7e60cec7a77a751617ad254bba23844cb413a0198386517d01c9b7 | ||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2012-08-22 10:52:15 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: | |||||||||||
Attachments: |
|
Description
Luya Tshimbalanga
2012-08-22 06:41:35 UTC
Created attachment 606138 [details]
File: type
Created attachment 606139 [details]
File: hashmarkername
Created attachment 606140 [details]
File: description
# restorecon -v /etc/nsswitch.conf will fix it. But the question is how it got this mislabeling. What does # rpm -qa --scripts |grep nsswitch Here is the result: ]$ rpm -qa --scripts | grep nsswitch # sed-fu to add myhostname to the hosts line of /etc/nsswitch.conf if [ -f /etc/nsswitch.conf ] ; then ' /etc/nsswitch.conf # sed-fu to remove myhostname from the hosts line of /etc/nsswitch.conf if [ "$1" -eq 0 -a -f /etc/nsswitch.conf ] ; then ' /etc/nsswitch.conf Ok, see if you get it again. Thank you. |