Package: radvd
Version: 1:1.1-3
Tags: ipv6

Hello,

If the network connection is removed or the link status goes down for any reason, then radvd will die, and won't send any route advertisements *on* *any* *interface* any more.

This is despite the fact the messages look good:

Apr 12 10:16:52 snoopy radvd[7040]: interface eth2 is not RUNNING
Apr 12 10:16:52 snoopy radvd[7040]: interface eth2 does not exist, ignoring the interface
[...]
Apr 12 10:26:16 snoopy radvd[7040]: interface eth2 seems to have come back up, trying to reinitialize
Apr 12 10:26:16 snoopy radvd[7040]: attempting to reread config file
Apr 12 10:26:16 snoopy radvd[7040]: resuming normal operation

In actual fact radvd is dead and cannot be killed without -9:

snoopy:~# ps auwx | grep radvd
root      6572  0.0  0.1   3616   704 pts/5    S+   17:03   0:00 grep radvd
root 7039 0.0 0.0 1860 328 ? S Apr11 0:00 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid radvd 7040 2.0 0.1 1860 560 ? Rs Apr11 37:44 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid
snoopy:~# /etc/init.d/radvd stop
Stopping radvd: radvd.
snoopy:~# ps auwx | grep radvd
root      6576  0.0  0.1   3616   704 pts/5    S+   17:04   0:00 grep radvd
root 7039 0.0 0.0 1860 328 ? S Apr11 0:00 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid radvd 7040 2.0 0.1 1860 560 ? Rs Apr11 38:01 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid
snoopy:~# /etc/init.d/radvd stop
Stopping radvd: radvd.
snoopy:~# ps auwx | grep radvd
root      6580  0.0  0.1   3616   708 pts/5    S+   17:04   0:00 grep radvd
root 7039 0.0 0.0 1860 328 ? S Apr11 0:00 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid radvd 7040 2.0 0.1 1860 560 ? Rs Apr11 38:07 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid
snoopy:~# killall radvd
snoopy:~# ps auwx | grep radvd
root      6583  0.0  0.1   3616   708 pts/5    S+   17:04   0:00 grep radvd
radvd 7040 2.0 0.1 1860 560 ? Rs Apr11 38:14 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid
snoopy:~# killall radvd
snoopy:~# ps auwx | grep radvd
root      6767  0.0  0.1   3616   704 pts/5    S+   17:05   0:00 grep radvd
radvd 7040 2.1 0.1 1860 560 ? Rs Apr11 39:28 /usr/sbin/radvd -u radvd -p /var/run/radvd/radvd.pid
snoopy:~# killall -9 radvd
snoopy:~# ps auwx | grep radvd
root      6770  0.0  0.1   3616   700 pts/5    R+   17:05   0:00 grep radvd
snoopy:~# /etc/init.d/radvd start
Starting radvd: radvd.

It might be significant that there were two copies of the daemon running, not sure. I only started one copy.


Also I have noticed that if I try to start radvd and one of the interfaces has no link detected, radvd won't start at all on any interface. This is bad because it means if one interface is down or doesn't come up in time, then nothing IPv6 will work - including on other interfaces that were working properly.

(note: on the interface in question, the Linux interface was always up and running, and the address and routing information is hard coded for this interface - it doesn't use dhcp or anything else - the only thing that happened was the wireless access point attached to this port died and was manually reset).

--
Brian May <[email protected]>




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to