Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52258 - keychain failed to setup ~/.keychain/${HOSTNAME}-csh properly
Summary: keychain failed to setup ~/.keychain/${HOSTNAME}-csh properly
Status: RESOLVED DUPLICATE of bug 49813
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Keychain Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 06:08 UTC by Eric Edgar (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Edgar (RETIRED) gentoo-dev 2004-05-28 06:08:26 UTC
I run keychain through a tcsh shell .. it appears the logic is incorrect in creating the contents of the ~/.keychain/${HOSTNAME}-csh file properly.
When I source that file the setenv command complains that variables must start with a letter.


Reproducible: Always
Steps to Reproduce:
1. run keychain
2. source the created ~/.keychain/${HOSTNAME}-csh file
3.

Actual Results:  
setenv /tmp/ssh-KzkhM12185/agent.12185
setenv 12186

Expected Results:  
setenv SSH_AUTH_SOCK /tmp/ssh-KzkhM12185/agent.12185
setenv SSH_AGENT_PID 12186


to make it work for me in the mean time I manually changed the keychain script 
to this
    echo "setenv SSH_AUTH_SOCK $ssh_auth_sock" >"$cshpidf"
    echo "setenv SSH_AGENT_PID $ssh_agent_pid" >>"$cshpidf"

note I hardcoded the SSH_AUTH_SOCK and SSH_AGENT_PID .. they were previously 
variables.  They do not seem to be getting set for the csh side of things.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-05-28 06:22:43 UTC
This was fixed in 2.2.2 but I hadn't marked it stable yet.  I've gone ahead and marked 2.3.0 stable in portage, please upgrade.

*** This bug has been marked as a duplicate of 49813 ***