Bug 844420

Summary: sudo 1.7.2p1-14.el5_8 removed sudoers line from nsswitch.conf
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED ERRATA QA Contact: Dalibor Pospíšil <dapospis>
Severity: high Docs Contact:
Priority: high    
Version: 5.8CC: alihamad, dapospis, dkopecek, jhughes, jpallich, ksrot, pm-eus, pvrabec, redhat, toracat
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: sudo-1.7.2p1-14.el5_8.1 Doc Type: Bug Fix
Doc Text:
Updating the sudo package resulted in the "sudoers" line in "/etc/nsswitch.conf" being removed. This update corrects the bug in the sudo package's post-uninstall script that caused this issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 16:54:00 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:
Bug Depends On: 841070    
Bug Blocks:    

Description RHEL Program Management 2012-07-30 14:32:30 UTC
This bug has been copied from bug #841070 and has been proposed
to be backported to 5.8 z-stream (EUS).

Comment 7 errata-xmlrpc 2012-08-07 16:54:00 UTC
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.

http://rhn.redhat.com/errata/RHSA-2012-1149.html

Comment 8 Johnny Hughes 2012-08-08 19:02:59 UTC
This fix leaves /etc/nsswitch.conf as permissions 0600 (because the postinstall uses mktemp).  nsswitch.conf needs to be 0644 instead of 0600.

Comment 9 Johnny Hughes 2012-08-08 19:09:43 UTC
see CentOS bug #5883:

http://bugs.centos.org/view.php?id=5883

Comment 10 Murray McAllister 2012-08-13 04:23:14 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Updating the sudo package resulted in the "sudoers" line in "/etc/nsswitch.conf" being removed. This update corrects the bug in the sudo package's post-uninstall script that caused this issue.