Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426258 - net-misc/x2goserver - x2gocleansessions fails to stop via its init script
Summary: net-misc/x2goserver - x2gocleansessions fails to stop via its init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-12 05:12 UTC by xenon.kay
Modified: 2012-07-13 09:36 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 xenon.kay 2012-07-12 05:12:23 UTC
After stopping x2gocleansessions through its initscript:
/etc/init.d/x2gocleansessions stop

I noticed that it was still showing up in the process list. Starting it up again adds a new instance alongside the old, which will also refuse to stop via the script. Repeated restarts via the init script will keep creating more instances. They have to be killed manually.

The id of the running process does match the one in its pid file when you attempt to stop the service. It seems to just be ignoring the stop signal from the start-stop-daemon command in its init script.

Reproducible: Always

Steps to Reproduce:
1. Start x2gocleansessions
2. Attempt to stop x2gocleansessions
Actual Results:  
Background process continues running.

Expected Results:  
Background process should terminate.
Comment 1 Bernard Cafarelli gentoo-dev 2012-07-13 09:36:40 UTC
Tbanks for spotting this!

A small leftover of x2goserver, the PID file created by x2gocleansessions is called x2goserver.pid (while the init script expects x2gocleansessions.pid)

I fixed the init script in CVS, without a revision bump for now (I have a few things left to check/fix in x2goserver before making a revision bump to get all the fixes)