The command `/etc/init.d/aiccu restart` does only work correctly, when i run it twice. This is very ugly, because the ipv6 tunnel-configuration doesn't get reloaded, after a change or network error. Reproducible: Always Steps to Reproduce: 1. Setup a ipv6 tunnel with a tunnel broker 2. break the connection your endpoint and the ipv4 pop 3. restore the connection 4. run `/etc/init.d/aiccu restart` once Actual Results: the tunnel didn't get up until i run `/etc/init.d/aiccu restart` the second time Expected Results: aiccu should have been restarted. you can fix it by adding those lines: #---------------------------------------------------------------------- reload() { ebegin "Restarting aiccu" start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/aiccu -- stop start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/aiccu -- start eend $? }
Created attachment 229925 [details, diff] Patch for /etc/init.d/aiccu
Added maintainer to bug.
There is also bug 248669.
Created attachment 231407 [details, diff] added two-secont-wait to fix the issue I saw, that the reload() function was ignored with the restart argument. Because the start() function only work's when no aiccu-process is running, i added a little sleep to the stop() function.
Fixed in net-misc/aiccu-2007.01.15-r1, thanks guys!