Description of problem: Addition of duplicate non-updateable keys (such as keyrings) to a keyring should displace the old instance of the key but gives EEXIST instead. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. keyctl session - 2. keyctl newring a @s 3. keyctl newring a @s 4. keyctl show Actual results: At step 3, the command gives a "File exists" error, and at step 4 you can see the keyring created at step 2 attached to the session keyring. Expected results: At step 3, the command should work, and should return a new key ID. At step 4 you should see that the keyring created in step 3 is attached to the session keyring, and the keyring from step 2 is nowhere to be seen. Additional info:
Created attachment 124805 [details] Patch to replace duplicate non-updateable keys
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0575.html