Bug 841070
| Summary: | sudo 1.7.2p1-14.el5_8 removed sudoers line from nsswitch.conf | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Ali Alzabarah <alihamad> | ||||||
| Component: | sudo | Assignee: | Daniel Kopeček <dkopecek> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Zbysek MRAZ <zmraz> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.8 | CC: | dapospis, dkopecek, ebenes, jpallich, ksrot, mvadkert, pvrabec | ||||||
| Target Milestone: | rc | Keywords: | ZStream | ||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | sudo-1.7.2p1-16.el5 | 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: | 2013-01-08 07:49:55 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: | 844420 | ||||||||
| Attachments: |
|
||||||||
|
Description
Ali Alzabarah
2012-07-18 03:57:54 UTC
This is a bug in the %postun section. I'll provide a patch ASAP. Created attachment 598915 [details]
proposed patch
Created attachment 598933 [details]
proposed and tested patch
[root@rhel-5-usgcb tmp]# rpm -q sudo; grep sudoers: /etc/nsswitch.conf
sudo-1.7.2p1-14.el5_8
sudoers: files ldap
[root@rhel-5-usgcb tmp]# yum localinstall --nogpgcheck sudo-1.7.2p1-16.el5.x86_64.rpm
Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Local Package Process
Examining sudo-1.7.2p1-16.el5.x86_64.rpm: sudo-1.7.2p1-16.el5.x86_64
Marking sudo-1.7.2p1-16.el5.x86_64.rpm as an update to sudo-1.7.2p1-14.el5_8.x86_64
Resolving Dependencies
--> Running transaction check
---> Package sudo.x86_64 0:1.7.2p1-16.el5 set to be updated
--> Finished Dependency Resolution
...
...
...
Complete!
[root@rhel-5-usgcb tmp]# rpm -q sudo; grep sudoers: /etc/nsswitch.conf
sudo-1.7.2p1-16.el5
sudoers: files ldap
[root@rhel-5-usgcb tmp]#
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.
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/RHBA-2013-0112.html |