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):
I am using tcsh so the /etc/profile.d/keychain.csh is the issue.
Steps to Reproduce:
1.Set homedir to '/'
Receive divide by zero error
This is on Fedora Core 6, though it is applicable to 5 as well.
Created attachment 139358 [details]
Patch to resolve issue for csh
Thanks for reporting and providing the fix. Along with an update to the current
upstream version I changed the specific Fedora Extras package keychain.csh
script, releasing a new package right now.