Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142315 - Keychain Error: Unable to use "ps" to scan for ssh-agent processes
Summary: Keychain Error: Unable to use "ps" to scan for ssh-agent processes
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All Other
: High major (vote)
Assignee: Keychain Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 12:40 UTC by Tausif
Modified: 2006-09-08 14:44 UTC (History)
1 user (show)

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 Tausif 2006-07-31 12:40:31 UTC
I installed keychain on Solaris as root and it works fine. But when I try running keychain as any other user I get the following output:

KeyChain 2.6.2; http://www.gentoo.org/proj/en/keychain/
Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL

 * Error: Unable to use "ps" to scan for ssh-agent processes
 * Error: Please report to agriffis@gentoo.org via http://bugs.gentoo.org
Comment 1 Tausif 2006-07-31 13:44:57 UTC
From the source code I can see its failing on this line:

     ps -u `whoami` -f >/dev/null 2>&1

I think this problem only occurs for usernames which are greater than 10 characters long.
Comment 2 Tausif 2006-08-04 13:48:14 UTC
Is there a way to get around the long username problem?
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2006-09-08 14:44:17 UTC
Thanks for tracking down the location.  I don't have access to Solaris, so you'll have to monkey around and see if you can get something to work, then report back.