Comment 3 for bug 1274643

Revision history for this message
gweg (gweg) wrote :

Between xfce4-session 4.8.3 and 4.10.1 the logic wrt ssh-agent and gpg-agent was moved from a shell script in /etc/xdg/xfce4/xinitrc to xfce4-session-4.10.1/xfce4-session/xfsm-startup.c

I see this issue in debian jessie.

Looking at xfsm-startup.c there is a logic error when there is a pre-existing ssh-agent so gpg-agent is started without ssh-agent support and without an SSH_AGENT_PID environment variable. On shutdown, the SSH_AGENT_PID environment variable does not contain the PID of the gpg-agent, so the gpg-agent is not killed.

I see an up-stream change which probably fixes this. If I get time, I will try and test this fix in debian jessie.

http://git.xfce.org/xfce/xfce4-session/commit/xfce4-session/xfsm-startup.c?id=7892794fbf029a3b15d9e1320cf701bf0d31fd83