Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52874 - keychain 2.2.0 and 2.3.0 doesn´t work with solaris in cshell
Summary: keychain 2.2.0 and 2.3.0 doesn´t work with solaris in cshell
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: Sparc All
: High normal (vote)
Assignee: Keychain Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 05:05 UTC by Agustín Quintana
Modified: 2004-06-03 16:20 UTC (History)
0 users

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


Attachments
FreeBSD 5.2.1 tcsh error output for keychain 2.3.0 (keychain230.out,6.46 KB, text/plain)
2004-06-03 14:17 UTC, Jerry Keefe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agustín Quintana 2004-06-03 05:05:32 UTC
While keychain works fine in bourne shells with solaris, in cshell it doesn
Comment 1 Agustín Quintana 2004-06-03 05:05:32 UTC
While keychain works fine in bourne shells with solaris, in cshell it doesn´t run. It shows a problem with the "setenv" command.

Reproducible: Always
Steps to Reproduce:
1.keychain .ssh/id_dsa
2.
3.

Actual Results:  
With keychain 2.2.0
-------------------

KeyChain 2.2.0; http://www.gentoo.org/projects/keychain
Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL

 * Warning: Se ha realizado el lock
/usr/local/bin/keychain220: setenv: not found
/usr/local/bin/keychain220: setenv: not found
 * Initializing /home/users/usuario/.keychain/camws3-sh file...
 * Initializing /home/users/usuario/.keychain/camws3-csh file...
 * Starting ssh-agent
/usr/local/bin/keychain220: setenv: not found
/usr/local/bin/keychain220: setenv: not found
 * Adding        1 key(s)...
 * Could not open a connection to your authentication agent.

With keychain 2.3.0
-------------------

KeyChain 2.3.0; http://www.gentoo.org/projects/keychain
Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL

expr: syntax error
 * Initializing /home/users/usuario/.keychain/camws3-sh file...
 * Initializing /home/users/usuario/.keychain/camws3-csh file...
 * Starting ssh-agent
/usr/local/bin/keychain230: setenv: not found
/usr/local/bin/keychain230: setenv: not found
 * Adding        1 key(s)...
 * Could not open a connection to your authentication agent.

In both situations I obtain a machinename-csh file:

setenv  
setenv


Solaris 8 and 9 in sparc
sshd version OpenSSH_3.8p1
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-06-03 09:03:10 UTC
Yowsers!  Would you mind running the script like this:

  % /bin/sh
  $ /bin/sh -x /usr/local/bin/keychain230 >keychain230.out 2>&1

then attach the output to this bug (i.e. "create an attachment", don't paste the file into a comment).  Note you will need to run bourne shell as I demonstrated above instead of running directly from csh so that you can redirect both stdout and stderr.  Thanks!
Comment 3 Jerry Keefe 2004-06-03 14:17:39 UTC
Created attachment 32616 [details]
FreeBSD 5.2.1 tcsh error output for keychain 2.3.0

-csh environment file not written completely
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-06-03 16:20:24 UTC
Thanks Jerry.  I see the problem and have fixed it.  New version 2.3.1 at

http://dev.gentoo.org/~agriffis/keychain/

(You might need to reload the page)