pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UNS: Re: pkg/39643 (security/keychain not working properly because of bash style scripting)



Hello Martti,

> Could you give more details about this because I have no problems with
> keychain on NetBSD/amd64 4.0_STABLE or NetBSD/amd64 4.99.x.

[
ok..
came across the solution now, i made some mistakes  myself i guess:
i've set ENV=~/.kshrc in .profile having this line in .kshrc:
eval `keychain -q --eval`
now everytime sh is started it reads .kshrc (sic) due to $ENV which leads to a call to keychain and so on.. got to look for a solution now, i could either remove that line (having no keychain available in non-login shells or use something like
eval `cat ~/.keychain/<hostname>-sh`
or (simple as it is and my solution of choice): unset ENV in .profile cause ksh will read ~/.kshrc by default.
]

Sorry for bugging you but i was honestly confident that it's got something to do with bash cause of my quick fix. Anyway, your hint made me dig more into that problem and i even came with the "right" solution.

Thanks and best regards,
Jochen


Home | Main Index | Thread Index | Old Index