Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76720 - wrong KDE shutdown script for gpg-agent (KDE 3.3.2, gpg-agent-1.9.14, possibly also others)
Summary: wrong KDE shutdown script for gpg-agent (KDE 3.3.2, gpg-agent-1.9.14, possibl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 20:48 UTC by Jochen Trumpf
Modified: 2005-02-08 02:20 UTC (History)
0 users

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 Jochen Trumpf 2005-01-04 20:48:17 UTC
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
Comment 1 Dan Armak (RETIRED) gentoo-dev 2005-01-11 12:55:00 UTC
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.
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-08 02:20:44 UTC
It's fixed now.