On Thu, Jul 21, 2011 at 3:22 PM, Rene Maroufi <[email protected]> wrote:
> On Thu, Jul 21, 2011 at 11:12:02AM +0200, Otto Moerbeek wrote:
>> On Thu, Jul 21, 2011 at 10:56:30AM +0200, Rene Maroufi wrote:
>>
>> > i installed the 5.0 beta snapshot from July 19th. At installation i
>> > answered question about ipv6 address with 'rtsol'. At boot there is a
>> > message:
>> > rtsol: kernel is configured not to accept redirects
>> > But the interface has a autoconf ipv6 address and sysctl says:
>> > net.inet6.ip6.accept_rtadv=1
>> > Everything is OK, but the message at boot is wrong. If i try:
>> > rtsol fxp0
>> > I get:
>> > rtsol: kernel is configured not to accept redirects
>> > which is wrong.
>>
>> The bug seems more in your reading than in the message. A redirect is
>> not the same as a routing advertisement.
>
> Yes, true, sorry. But: Why this message? It's confusing. I configured
> Router solicitation/Router Advertisements. Why a message about router
> redirects?

  this looks like a bug in the install scripts.
  we should be treating net.inet6.icmp6.rediraccept the same as
net.inet6.icmp6.accept_rtadv:

Index: distrib/miniroot/install.sh
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sh,v
retrieving revision 1.221
diff -u -p -r1.221 install.sh
--- distrib/miniroot/install.sh 4 Jul 2011 20:59:05 -0000       1.221
+++ distrib/miniroot/install.sh 21 Jul 2011 16:11:07 -0000
@@ -316,6 +316,8 @@ fi
 if grep -qs '^rtsol' /mnt/etc/hostname.*; then
        sed -e "/^#\(net\.inet6\.ip6\.accept_rtadv\)/s//\1/" \
                /mnt/etc/sysctl.conf >/tmp/sysctl.conf
+       sed -e "/^#\(net\.inet6\.ip6\.rediraccept\)/s//\1/" \
+               /mnt/etc/sysctl.conf >/tmp/sysctl.conf
        cp /tmp/sysctl.conf /mnt/etc/sysctl.conf
 fi

  f.-

Reply via email to