Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 841195

Summary: sudo-1.7.2p1-14.el5_8 breaks selinux permissions on /etc/nsswitch.conf
Product: Red Hat Enterprise Linux 5 Reporter: Michael Young <m.a.young>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: dkopecek, troels
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-18 11:52:41 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:

Description Michael Young 2012-07-18 11:49:07 UTC
I updated to sudo-1.7.2p1-14.el5_8 and then discovered automount wasn't working. On checking the logs I discovered there were problems reading /etc/nsswitch.conf and checking the selinux permissions showed that it now had permissions
root:object_r:rpm_script_tmp_t
If I run /sbin/restorecon /etc/nsswitch.conf it sets the permissions back to
system_u:object_r:etc_t
and the automounts work again.

Comment 1 Daniel Kopeček 2012-07-18 11:52:41 UTC

*** This bug has been marked as a duplicate of bug 818585 ***