Updating from olsrd-0.5.3 to olsrd-0.5.4 floods /var/log/messages with this stuff Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Delete route: No such process Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Jan 6 03:12:38 tuscolo olsrd[9377]: Add route: File exists Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge olsrd 2.Here is my /etc/olsrd.conf DebugLevel 0 IpVersion 4 ClearScreen no Hna4 { 192.168.7.0 255.255.255.0 } Hna6 { } AllowNoInt yes IpcConnect { MaxConnections 0 Host 127.0.0.1 } UseHysteresis no HystScaling 0.50 HystThrHigh 0.80 HystThrLow 0.30 LinkQualityLevel 2 LinkQualityWinSize 100 Pollrate 0.05 NicChgsPollInt 3.0 TcRedundancy 2 MprCoverage 5 LoadPlugin "olsrd_dot_draw.so.0.3" { } LoadPlugin "olsrd_httpinfo.so.0.1" { PlParam "accept" "192.168.3.200" } LoadPlugin "olsrd_bmf.so.1.5" { PlParam "NonOlsrIf" "eth0:1" PlParam "CapturePacketsOnOlsrInterfaces" "yes" } Interface "eth0" "tap0" { } 3. /etc/init.d/olsrd start 4. tail -f /var/log/messages Expected Results: These errors are not normal! Anyways the behaviuor is too much verbose, so you can't really use the ebuild
This is because olsrd can not add route. Can you give the output of the command "netstat -rn" ?
Here you go :) I have printed it out from two gentoo boxes I have both running olsrd svn / # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.3.2 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 192.168.2.1 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 192.168.2.2 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 192.168.5.81 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 192.168.3.100 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 192.168.10.10 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 10.162.0.14 10.254.0.1 255.255.255.255 UGH 0 0 0 tap1 172.16.192.2 10.0.1.15 255.255.255.255 UGH 0 0 0 tap0 10.0.1.15 0.0.0.0 255.255.255.255 UH 0 0 0 tap0 10.0.1.10 0.0.0.0 255.255.255.255 UH 0 0 0 tap0 10.254.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 tap1 172.16.40.14 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 192.168.3.214 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 172.16.40.10 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 172.16.40.9 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 172.16.40.6 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 172.16.40.5 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 172.16.40.4 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 172.16.40.3 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 172.16.40.1 10.0.1.10 255.255.255.255 UGH 0 0 0 tap0 78.47.245.240 0.0.0.0 255.255.255.248 U 0 0 0 eth0 192.168.5.0 10.0.1.10 255.255.255.240 UG 0 0 0 tap0 192.168.5.48 10.0.1.10 255.255.255.240 UG 0 0 0 tap0 192.168.5.80 10.0.1.10 255.255.255.240 UG 0 0 0 tap0 192.168.7.0 10.0.1.10 255.255.255.0 UG 0 0 0 tap0 192.168.4.0 10.0.1.10 255.255.255.0 UG 0 0 0 tap0 192.168.3.0 10.0.1.10 255.255.255.0 UG 0 0 0 tap0 192.168.2.0 10.0.1.10 255.255.255.0 UG 0 0 0 tap0 10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0 192.168.1.0 10.0.1.10 255.255.255.0 UG 0 0 0 tap0 192.168.0.0 10.0.1.10 255.255.255.0 UG 0 0 0 tap0 10.254.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tap1 192.168.10.0 10.0.1.10 255.255.255.0 UG 0 0 0 tap0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 bmf0 0.0.0.0 78.47.245.241 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 10.0.1.15 0.0.0.0 UG 0 0 0 tap0 svn / # tuscolo ~ # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.3.2 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 192.168.2.1 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 192.168.2.2 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 192.168.2.2 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 192.168.1.1 192.168.3.100 255.255.255.255 UGH 0 0 0 eth0 192.168.5.81 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 192.168.3.100 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 192.168.10.10 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 192.168.10.10 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 10.162.0.14 10.0.1.1 255.255.255.255 UGH 0 0 0 tap0 172.16.192.2 10.0.1.15 255.255.255.255 UGH 0 0 0 tap0 10.0.1.15 0.0.0.0 255.255.255.255 UH 0 0 0 tap0 10.0.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 tap0 10.254.0.2 10.0.1.1 255.255.255.255 UGH 0 0 0 tap0 10.254.0.1 10.0.1.1 255.255.255.255 UGH 0 0 0 tap0 172.16.40.14 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.10 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.10 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.9 192.168.3.100 255.255.255.255 UGH 0 0 0 eth0 172.16.40.9 192.168.3.100 255.255.255.255 UGH 0 0 0 eth0 172.16.40.6 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.6 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.5 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.4 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.4 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.3 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.1 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 172.16.40.1 192.168.3.2 255.255.255.255 UGH 0 0 0 eth0 192.168.5.0 192.168.3.2 255.255.255.240 UG 0 0 0 eth0 192.168.5.0 192.168.3.2 255.255.255.240 UG 0 0 0 eth0 192.168.5.48 192.168.3.2 255.255.255.240 UG 0 0 0 eth0 192.168.5.80 192.168.3.2 255.255.255.240 UG 0 0 0 eth0 192.168.4.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 192.168.4.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.3.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 192.168.3.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0 192.168.2.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 192.168.1.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 192.168.0.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 192.168.10.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 192.168.10.0 192.168.3.2 255.255.255.0 UG 0 0 0 eth0 4.4.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 bmf0 0.0.0.0 192.168.3.2 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 10.0.1.15 0.0.0.0 UG 0 0 0 tap0 tuscolo ~ #
Did you try to run olsrd in debug mode ? Can you put the ouput ?
The problem is related to the activation of the BMF plugin. Without the plugin activated, and without the bmf0 interface, the problem does not occur. Tested with 0.5.4 and 0.5.5
Please report the bug to main stream.