gpg-agent doesn't seem to know the option -k used in the shutdown script under $KDEDIR/shutdown (please note that there is also an additional bug which might prevent the script from being executed at all on your system, see bug #76719). The following if [ -x /usr/bin/gpg-agent ]; then kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) 2>&1 >/dev/null fi works for me (although checking for the presence of the gpg-agent executable is maybe not the optimal thing to do). Reproducible: Always Steps to Reproduce: 1.uncomment the gpg-agent related stuff in the startup and shutdown scripts (and make the shutdown script executable, see bug #76719) 2.log into KDE 3.log out again Actual Results: gpg-agent is still running Expected Results: it should have stopped
We should test -x /usr/bin/gpg-agent -a -n "$GPG_AGENT_INFO" With this change, applied the fix to the shutdown script of the 3.4.0_beta1 split ebuild - still needs to be applied to 3.3 ebuilds.
It's fixed now.