Description of problem: Divide by zero error occurs if homedir is set to /. I know it isn't common but some folks set root's homedir to '/'. When this happens keychain gives a divide by zero error when you login, this effectivley kills scripts that aren't expecting any feedback. Version-Release number of selected component (if applicable): 2.6.2-1.fc6, though I think this is still applicable to the latest version How reproducible: I am using tcsh so the /etc/profile.d/keychain.csh is the issue. Steps to Reproduce: 1.Set homedir to '/' 2.login Actual results: Receive divide by zero error Expected results: No output
Created attachment 100465 [details, diff] Patch to solve issue for csh
Keychain upstream (that's me) doesn't provide this file. It's a fedora add-on. Please file this at bugzilla.redhat.com