Bug 475783
| Summary: | Can't update rpcbind package while using ldap auth | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | maluyao <maluyao> |
| Component: | rpcbind | Assignee: | Steve Dickson <steved> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 10 | CC: | bugzilla, ffesti, james.antill, katzj, m11172, pmatilai, steved, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.2.0-2.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-07-16 07:28:32 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: | |||
|
Description
maluyao
2008-12-10 14:04:34 UTC
Reassigning this bug to the correct package. > post scripts error
What is the error?
I have the same problem with a nisclient on Fedora 10. Error message: Preparing... ########################################### [100%] error: %pre(rpcbind-0.1.7-1.fc10.x86_64) scriptlet failed, exit status 9 error: install: %pre scriptlet failed (2), skipping rpcbind-0.1.7-1.fc10 Problem seems to be "/usr/sbin/userdel rpc" in %pre. Changing /etc/nsswitch.conf: "passwd: files nis" to "passwd: files" makes %pre work, but that is not optimal if you have many nisclients to update. I experienced the same problem when running "yum update". Updating rpcbind failed with a script error. The userdel command was failing to delete the rpc user because there were two lines in /etc/shadow with the user name "rpc". On closer look I found that there were two copies of every user. The file had 70 lines, the first 35 were identical to the last 35. Removing the last 35 lines solved the problem. userdel could be made a bit more resilient to this, but the real bug is that the contents of /etc/shadow were duplicated to begin with. I am not sure what produced the bad /etc/shadow. I suspect it was something happening earlier during the update. rpcbind-0.2.0-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/rpcbind-0.2.0-2.fc11 rpcbind-0.2.0-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpcbind'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7134 rpcbind-0.2.0-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |