Description of problem: Can't not update rpcbind package using yum command. Version-Release number of selected component (if applicable): Fedora 7/8/9/10 How reproducible: By using ldap auth Steps to Reproduce: 1.Install a new system 2.using ldap auth 3.yum update rpcbind Actual results: post scripts error Expected results: Additional info: After use system auth (/etc/shadown), It can be updated.
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.