Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 62890

Summary: TSPC (Freenet6) init.d script broken
Product: Gentoo Linux Reporter: Niels Laukens <nielchiano>
Component: Current packagesAssignee: The ipv6 Team <ipv6>
Status: RESOLVED DUPLICATE    
Severity: minor CC: dhp_gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Niels Laukens 2004-09-05 00:53:58 UTC
tspc is a launch-once program; it sets up the tunnel and exists. The init-script tries to stop it on shutdown like this:
kill `pidof tspc`
and hence, generates an error since the program isn't running.

Reproducible: Always
Steps to Reproduce:
/etc/init.d/tspc start
/etc/init.d/tspc stop

Actual Results:  
kill complains:
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l
[sigspec]

Expected Results:  
Just do nothing and return without error

just comment-out the line in the stop() function in the init-script
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-05 10:31:27 UTC
Also, can y'all add a metadata.xml file please?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 07:06:56 UTC
*** Bug 94285 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 07:07:58 UTC
Hello, is there anybody out there? ;-)
Comment 4 DEMAINE BenoƮt-Pierre, aka DoubleHP 2005-05-28 07:40:01 UTC
heu ... I would exepct stop() to shut down the tunnel,
NOT do nothing !
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 08:18:31 UTC
(In reply to comment #4)
> heu ... I would exepct stop() to shut down the tunnel,

Hmm, well - there is a similar suggestion in Bug 32779, comment #4. Marking this
one as duplicate as well.

*** This bug has been marked as a duplicate of 32779 ***