From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.54 [en] Description of problem: We are using routed in with a RIP-Router which propagates a default route. routed correctly accepts the default route and insert it into the routing table. From console: routed -d -t works, after pressing CTRL-C routed correctly deletes the learned default route. service routed start works. service routed stop DOESN'T WORK, the default route is still there. Version-Release number of selected component (if applicable): routed-0.17-18 How reproducible: Always Steps to Reproduce: 1. service routed start 2. service routed stop 3. ip route show Actual Results: 2 default routes Expected Results: 1 default routes Additional info:
This fixes the problem: --- /etc/init.d/routed.orig 2004-11-26 13:46:05.435892872 +0100 +++ /etc/init.d/routed 2004-11-26 13:55:49.520098576 +0100 @@ -39,7 +39,7 @@ stop() { echo -n $"Stopping routed (RIP) services: " - killproc routed + killproc routed -2 RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/routed
I would normally suggest people use a rip-2 aware tool or OSPF. Thanks for the patch. I will roll a new package when I get some time.