Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32779 - net-misc/freenet6 rc script problem
Summary: net-misc/freenet6 rc script problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
: 62890 102948 (view as bug list)
Depends on:
Blocks: 137543
  Show dependency tree
 
Reported: 2003-11-05 02:37 UTC by Philipp Kern
Modified: 2007-04-16 18:48 UTC (History)
8 users (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 Philipp Kern 2003-11-05 02:37:52 UTC
The stop part of net-misc/freenet6's rc script doesn't work.
tspc terminates after its launch so the stop part does always fail.
You could workaround that with kill `pidof tspc`||true but it will always throw a failure message to the user. (kill doesn't find such a pid).
Comment 1 Philipp Kern 2003-11-05 02:39:19 UTC
Oh I forgot.
tspc should be run as cronjob anyway as freenet6 kills the tunnel after 7d
without any TSP traffic.
You should mention that anywhere.
Comment 2 Julien Allanos (RETIRED) gentoo-dev 2004-01-12 13:35:33 UTC
the stop part should be a "ifconfig <if_tunnel in tspc.conf> down" or something.
Comment 3 Julien Allanos (RETIRED) gentoo-dev 2004-01-12 13:39:22 UTC
another problem is the /etc/freenet/tspc.log, that's not a place for a log isn't it ?
Comment 4 Julien Allanos (RETIRED) gentoo-dev 2004-01-19 03:25:24 UTC
replacing

      kill `pidof tspc`

by

      ifconfig `grep if_tunnel /etc/freenet6/tspc.conf | sed s/if_tunnel=//` down

in /etc/init.d/tspc seems to work.
Comment 5 Philipp Kern 2004-02-15 11:09:43 UTC
Still broken. latexer, please take this one over, it's not really hard to fix.
I obviously filed this against 0.9.7.
Added gmsoft@gentoo.org to CC as he last commited to the net-misc/freenet6 section.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 08:18:31 UTC
*** Bug 62890 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 08:21:46 UTC
Can anything be done about this really stale bug? Also, this package is missing
metadata.xml.
Comment 8 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-29 10:49:50 UTC
Mass reassign of bugs on orphaned packages to appropriate assignee.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-08-18 07:38:20 UTC
*** Bug 102948 has been marked as a duplicate of this bug. ***
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-22 08:32:05 UTC
I'm taking over this package, so I'll be looking into these bugs.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-28 08:19:24 UTC
I forgot to accept this one.
Comment 12 Lorenzo Simionato 2007-02-04 15:07:33 UTC
Thie version of ebuild is outdated, i've used only the new version and with it there is a fork (so a child process) that is ok to kill.
I think this bug should be close, please see bug #63710.

Comment 13 Bernard Cafarelli gentoo-dev 2007-04-16 18:48:08 UTC
Fixed in CVS, new 4.2.2 version and new init script