When trying to stop gw6c by using $ /etc/init.d/gwc6 stop the process is stopped the wrong way. Like suggested by '/etc/freenet6/template/linux.sh:109' SIGHUP should be used to kill the process so that the "Tunnel destruction script" gets executed. The destruction script is important because it terminates the tunnel, removes the advertised ipv6-prefix from the local link and terminates radvd (if using freenet6 in router mode). At the current state it is impossible to start gw6c again, without cleaning up manually. Reproducible: Always
Created attachment 176158 [details, diff] start-stop-daemon is using SIGHUP to stop gw6c
Thanks for the report and posting your fix; assigning to
ahem... assigning to the ebuild maintainer.
Thanks for the analysis and patch, init script fixed in CVS!