Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 00:20:48 -0700
From:      Brian Somers <brian@FreeBSD.org>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, dim@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, brian@FreeBSD.org
Subject:   Re: svn commit: r242074 - head/etc/rc.d
Message-ID:  <20121027072048.GB77528@thong.lan.Awfulhak.org>
In-Reply-To: <20121027.155707.2226765252880570777.hrs@allbsd.org>
References:  <20121025171827.GA59432@thong.lan.Awfulhak.org> <20121026.035215.1799343372729116466.hrs@allbsd.org> <20121026235044.GA77528@thong.lan.Awfulhak.org> <20121027.155707.2226765252880570777.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--UFHRwCdBEJvubb2X
Content-Type: multipart/mixed; boundary="cmJC7u66zC7hs+87"
Content-Disposition: inline


--cmJC7u66zC7hs+87
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 27, 2012 at 03:57:07PM +0900, Hiroki Sato wrote:
> Brian Somers <brian@FreeBSD.org> wrote
>   in <20121026235044.GA77528@thong.lan.Awfulhak.org>:
>=20
> br> When I reboot and don't use -accept_rtadv (and leave
> br> net.inet6.ip6.accept_rtadv set to zero), I repeatedly see this in
> br> /var/log/messages:
> br>
> br> Oct 26 16:31:26 gw rtadvd[2879]: non-zero lifetime RA on RA receiving=
 interface sk0.  Ignored.
> br> Oct 26 16:31:33 gw rtadvd[2879]: non-zero lifetime RA on RA receiving=
 interface bridge0.  Ignored.
> br> Oct 26 16:31:42 gw rtadvd[2879]: non-zero lifetime RA on RA receiving=
 interface sk0.  Ignored.
> br> Oct 26 16:31:49 gw rtadvd[2879]: non-zero lifetime RA on RA receiving=
 interface bridge0.  Ignored.
> br>
> br> This seems to be the problem.  Because check_accept_rtadv() (in
> br> rtadvd) reports the interface as being able to accept RAs (it finds
> br> the ND6_IFF_ACCEPT_RTADV flag), it drops outgoing RAs and nothing
> br> happens.
>=20
>  Can you send me your /etc/rc.conf and /etc/sysctl.conf?  I guess you
>  are still using ipv6_enable=3DYES on 9.X.

Sure (attached).  I'm not sure what is supposed to change in rc.conf
when upgrading from 8 to 9.  There's nothing obvious that I can
see...  maybe I'm looking in the wrong place?

    http://www.freebsd.org/releases/9.0R/relnotes.html

This issue seems to be with rtadvd (as per above).  Eliding the return
after the above non-zero lifetime message in rtadvd.c makes everything
work again (without using ifconfig iface inet6 -accept_rtadv).

--=20
Brian Somers                                          <brian@Awfulhak.org>
Don't _EVER_ lose your sense of humour !               <brian@FreeBSD.org>

--cmJC7u66zC7hs+87
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rc.conf"
Content-Transfer-Encoding: quoted-printable

hostname=3Dgw.lan.Awfulhak.org
nisdomainname=3DAwfulhak.org
firewall_enable=3DYES
firewall_flags=3D"-p /usr/bin/m4"
firewall_type=3D/etc/firewall.rules
firewall_quiet=3DYES
#network_interfaces=3D"fxp0 re0 lo0 bridge0"
#network_interfaces=3D"fxp1 sk0 lo0 bridge0"
ifconfig_sk0=3D"inet 172.16.0.1 netmask 0xffffff00"
ifconfig_sk0_alias0=3D"inet 172.16.0.23 netmask 0xffffffff"
ifconfig_lo0_alias0=3D"inet 127.0.0.2 netmask 0xffffffff"
ifconfig_fxp0=3DDHCP
#static_routes=3Dupstairs
#route_upstairs=3D"172.16.2.128/25 172.16.2.34"
ifconfig_fxp1=3Dup
vlans_sk0=3D167
ifconfig_sk0_167=3Dup
cloned_interfaces=3Dbridge0
ifconfig_bridge0=3D"addm sk0.167 addm fxp1 172.16.2.2 netmask 0xffffff80"
bsdstats_enable=3DYES
ipv6_enable=3DYES
ipv6_gateway_enable=3DYES
ipv6_ifconfig_sk0=3D"2001:1938:27d:0:240:f4ff:feb1:1c85 prefixlen 64"
ipv6_ifconfig_bridge0=3D"2001:1938:27d:1:20d:61ff:fe45:2c3f prefixlen 64"
rtadvd_enable=3DYES
rtadvd_interfaces=3D"sk0 bridge0"
fsck_y_enable=3DYES

natd_enable=3DYES
natd_interface=3Dfxp0
natd_flags=3D"-f /etc/natd.conf"
rpcbind_enable=3DYES
syslogd_enable=3DYES
syslogd_flags=3D-ss
dnscrypt_proxy_enable=3DYES
dnscrypt_proxy_flags=3D'-a 127.0.0.2'
named_enable=3DYES
rwhod_enable=3DYES
amd_enable=3DYES
amd_flags=3D
nfs_client_enable=3DYES
nfs_server_enable=3DYES
mountd_enable=3DYES
mountd_flags=3D"-p 1007"
rpc_lockd_enable=3DYES
rpc_statd_enable=3DYES
timed_flags=3D"-F localhost"
nis_client_enable=3DYES
nis_client_flags=3D"-S $nisdomainname,172.16.0.1 -m"
nis_server_enable=3DYES
nis_yppasswdd_enable=3DYES
gateway_enable=3DYES
cursor=3Ddestructive
lpd_enable=3DYES
lpd_flags=3D-lc
dumpdev=3D/dev/ad0s1b
clear_tmp_enable=3DYES
ldconfig_paths_aout=3DNO
sshd_enable=3DYES
ntpd_enable=3DYES
ntpd_sync_on_start=3DYES
usbd_enable=3DYES
snmpd_enable=3DYES
snmpd_flags=3D-Lsd

moused_enable=3DYES
moused_type=3Dps/2
moused_port=3D/dev/psm0
sendmail_enable=3DYES
inetd_enable=3DYES

sixxs_aiccu_enable=3DYES
cyrus_pwcheck_enable=3DYES
#slapd_enable=3DYES
#slapd_flags=3D'-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0=
/"'
#slapd_sockets=3D"/var/run/openldap/ldapi"     =20

apache22_enable=3DYES
apache22ssl_enable=3DYES
dhcpd_enable=3DYES
dhcpd_ifaces=3D"sk0 bridge0"
dhcpd_chuser_enable=3DNO
mysql_enable=3DYES
cyrus_imapd_enable=3DYES
saslauthd_enable=3DYES
saslauthd_flags=3D"-a pam"
squid_enable=3DYES
samba_enable=3DYES
#winbindd_enable=3DYES
#winbindd_flags=3D"-d10"
mt_daapd_enable=3DYES
arpwatch_enable=3DYES
arpwatch_interfaces=3D"sk0 bridge0"
cupsd_enable=3DYES
nagios_enable=3DYES
nsca_enable=3DYES
sshblock_enable=3DYES

saver=3Dgreen
# added by xorg-libraries port
local_startup=3D"/usr/local/etc/rc.d"

ddclient_enable=3DYES
daily_ddclient_force_enable=3DYES

spamd_enable=3DYES
spamass_milter_enable=3DYES

--cmJC7u66zC7hs+87
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sysctl.conf"

# $FreeBSD: stable/9/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#
kern.maxfilesperproc=1024

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0

# I want to see firewall log messages in /var/log/security
net.inet.ip.fw.verbose=1

--cmJC7u66zC7hs+87--

--UFHRwCdBEJvubb2X
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQCVAwUBUIuLUA7tvOdmanQhAQL7zAP7BU2BnNsYmgwINAs8HVJS03lskuTGINeb
i7YCCZWOXXbg0L/GoyD6aXroaEOHogfMX86/vBNs1zxMlOi4Pc5MAuzZ199musXb
2z9R1lKxn26DiSVtYqiqagxQ29AHVbhBReI3KdpFS2hhb4V6L+pD5N5ESTrWNZXm
6AJ2RhI+Cv0=
=Im8H
-----END PGP SIGNATURE-----

--UFHRwCdBEJvubb2X--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121027072048.GB77528>