Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76719 - executable flag missing on KDE shutdown scripts (KDE 3.3.2, maybe also others)
Summary: executable flag missing on KDE shutdown scripts (KDE 3.3.2, maybe also others)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 81969 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-04 20:35 UTC by Jochen Trumpf
Modified: 2005-02-14 12:29 UTC (History)
1 user (show)

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:35:23 UTC
There seem to be missing executable flags on the shutdown scripts in $KDEDIR/shutdown which prevents them from being run. For some reason the test for startup scripts in startkde uses -r (readable file) and sources them while the test for shutdown scripts uses -x (executable file) and runs them. It's beyond me why this is so, but making the shutdown script(s) executable solves the problem.

Reproducible: Always
Steps to Reproduce:
1.uncomment something in a startup script under $KDEDIR/env (e.g. the ssh-agent) and the corresponding entry in a shutdown script under $KDEDIR/shutdown
2.log into KDE
3.log out again

Actual Results:  
the agent is still running  

Expected Results:  
the agent should have stopped
Comment 1 Jochen Trumpf 2005-01-04 20:51:45 UTC
Please note that the shutdown script provided for gpg-agent doesn't work with gpg-agent-1.9.14 (see bug #76720), so that one is not a good test case ;-)
Comment 2 Dan Armak (RETIRED) gentoo-dev 2005-01-11 12:47:47 UTC
I've fixed this in the 3.4.0_beta1 split ebuilds. Someone should do it for
the 3.3 kdebase - I don't have the monolithic ebuilds installed atm.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-08 02:20:08 UTC
Now it's fixed in kdebase 3.3.2-r2, too.
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-14 12:29:06 UTC
*** Bug 81969 has been marked as a duplicate of this bug. ***