https://bugzilla.novell.com/show_bug.cgi?id=812783 https://bugzilla.novell.com/show_bug.cgi?id=812783#c0 Summary: ssh-agent not detected in sys.xsession Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: werner@suse.com ReportedBy: wolfgang@rosenauer.org QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- I'm using pam_ssh since ages to authenticate via PAM and also create the ssh-agent with my private keys loaded. With 12.3 that does not work anymore. I always get a new ssh-agent started for my WindowMaker session and my unlocked keys are not known to that one. I've tried to debug that a bit but only was able to follow it into sys.xsession: ----- if test "$usessh" = yes -a -d "$HOME/.ssh" && sshagent=$(type -p ssh-agent) ; then if test -S "$SSH_AUTH_SOCK" ; then logger "xsession: pid $SSH_AGENT_PID" checkproc -p $SSH_AGENT_PID $sshagent error=$? logger "xsession: checkproc return $error" if test -n "$SSH_AGENT_PID" && checkproc -p $SSH_AGENT_PID $sshagent ; then export SSH_AGENT_PID SSH_AUTH_SOCK else rm -f "$SSH_AUTH_SOCK" case "${SSH_AUTH_SOCK%/*}" in /tmp/*) rm -rf "${SSH_AUTH_SOCK%/*}" esac unset SSH_AUTH_SOCK fi ----- checkproc -p $SSH_AGENT_PID $sshagent returns exit code 7 but I've verified with debug output that SSH_AGENT_PID contains a valid and current pid of an "ssh-agent -s" process. Actually executing it with the actual data like wolfi@Hygiea:~> /sbin/checkproc -p 6168 /usr/bin/ssh-agent wolfi@Hygiea:~> echo $? 0 works correctly. Just within sys.xsession it fails for a reason I don't know. I did a "ps ax | grep $SSH_AGENT_PID" in the script and it returned the process "ssh-agent -s" correctly but still checkproc failed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.