Bug#531412: kdeinit4 calls ssh-add but adds no identities

2014-07-24 Thread Maximiliano Curia
Hi,

Afaik, ssh-add is not called by kdeinit4 directly, but it can be called
indirectly by kwallet or some other program in the autostart.

If you can still reproduce the issue, please check the SSH_AGENT_PID
environment of your ssh-add.

Something like this: http://www.unicom.com/blog/entry/612
should work.

Happy hacking,
-- 
"By definition, when you are investigating the unknown, you do not know what
you will find"
-- The Ultimate Principle
Saludos /\/\ /\ >< `/


signature.asc
Description: Digital signature


Bug#531412: kdeinit4 calls ssh-add but adds no identities

2009-06-01 Thread ben
Package: kdeinit4
Version: kdeinit
Severity: normal


Upon login I get a ksshaskpass window.  It duly accepts my correct
passphrase, but it doesn't add any identities to the X session.
"ssh-add -l" confirms this: "The agent has no identities."

Here is some of the hierarchical process table when the window
appears.  As you can see, the parent is kdeinit4.

ben   4216  0.1  0.1  35656  5512 ?Ss   04:22   0:00 kdeinit4: 
kdeinit4 Running...
ben   4217  0.1  0.3  38572 10136 ?S04:22   0:00  \_ klauncher
ben   4254  0.4  0.5 102512 16900 ?Sl   04:22   0:00  \_ ksmserver 
--windowmanager sawfish
ben   4256  0.6  0.2  14032  7000 ?R04:22   0:00  |   \_ sawfish
ben   4264  0.0  0.2  29912  7028 ?S04:22   0:00  \_ 
/usr/bin/kwrited
ben   4279  0.1  0.2  37700  7144 ?S04:22   0:00  \_ kdeinit4: 
kio_desktop [kdeinit] desktop 
local:/tmp/ksocket-ben/klauncherMT4217.slave-socket local:/
ben   4281  0.0  0.1  36216  5632 ?S04:22   0:00  \_ kdeinit4: 
kio_file [kdeinit] file local:/tmp/ksocket-ben/klauncherMT4217.slave-socket 
local:/tmp/ks
ben   4291  0.2  0.1  11588  5960 ?S04:22   0:00  \_ 
/usr/bin/xterm
ben   4327  0.0  0.0   4796  1904 pts/2Ss+  04:22   0:00  |   \_ zsh
ben   4292  0.0  0.0   5024  1684 ?S04:22   0:00  \_ 
/usr/bin/ssh-add
ben   4298  0.8  0.4  26028 13560 ?S04:22   0:00  |   \_ 
/usr/bin/ssh-askpass Enter passphrase for /home/ben/.ssh/id_dsa: 

There is indeed an ssh-agent running under startkde:

root  3679  0.0  0.0  15184  1624 ?Ss   04:21   0:00 /usr/sbin/gdm
root  3682  0.0  0.1  15692  3156 ?S04:21   0:00  \_ 
/usr/sbin/gdm
root  3688  3.9  1.1 110060 37076 tty7 Rs+  04:21   0:04  \_ 
/usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
ben   4025  0.0  0.0   4484  1572 ?Ss   04:22   0:00  \_ 
/bin/sh /usr/bin/startkde
ben   4158  0.0  0.0   4888   604 ?Ss   04:22   0:00  \_ 
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde

But no process I can find (starting xterm from kde's new panel, from
the new launcher, from ~/.kde/Autostart, etc...) recognises any key:
ssh-add -l lists nothing.

If I run ssh-add myself from Autostart or later from a shell, then
everything works fine, the identity is added, etc.  But then of course
there's the question of which ssh-askpass window I actually need to
type my password into.

This actually scared me the first time I saw it--I figured someone had
Trojaned my system and installed a fake ssh-askpass.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org