From owner-svn-src-head@FreeBSD.ORG Sat Oct 27 07:20:53 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A9FA242; Sat, 27 Oct 2012 07:20:53 +0000 (UTC) (envelope-from brian@awfulhak.org) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 8510E8FC08; Sat, 27 Oct 2012 07:20:52 +0000 (UTC) Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd7ml3no-ssvc.prod.shaw.ca) ([10.0.144.222]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 27 Oct 2012 01:20:52 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=7/EMZfWbaVtDMdTqnk9efwidrOfQb3DZMdpNhNw5Oc4= c=1 sm=1 a=wom5GMh1gUkA:10 a=gyNmXv_Ll5gA:10 a=dBRESv0yCI8A:10 a=BLceEmwcHowA:10 a=Jvqgub9IZPV2TmRqH1mFPg==:17 a=6I5d2MoRAAAA:8 a=MMwg4So0AAAA:8 a=2PyMOFc78AZHJGynTmcA:9 a=CjuIK1q_8ugA:10 a=GALlD18Yr0IA:10 a=SV7veod9ZcQA:10 a=WJ3hkfHDukgA:10 a=mQ248kowQ4er70y9YfMA:9 a=9OkjiA5aW4egAk79oncA:9 a=Qmgu6FkwSqBMwSyfNJ8A:9 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO gw.Awfulhak.org) ([174.7.169.46]) by pd7ml3no-dmz.prod.shaw.ca with ESMTP; 27 Oct 2012 01:20:51 -0600 Received: from thong.lan.Awfulhak.org (thong.lan.Awfulhak.org [172.16.0.31]) by gw.Awfulhak.org (8.14.5/8.14.5) with ESMTP id q9R7Knrk023895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 27 Oct 2012 00:20:49 -0700 (PDT) (envelope-from brian@lan.Awfulhak.org) Received: from thong.lan.Awfulhak.org (localhost [127.0.0.1]) by thong.lan.Awfulhak.org (8.14.5/8.14.5) with ESMTP id q9R7Know080538; Sat, 27 Oct 2012 00:20:49 -0700 (PDT) (envelope-from brian@thong.lan.Awfulhak.org) Received: (from brian@localhost) by thong.lan.Awfulhak.org (8.14.5/8.14.5/Submit) id q9R7Kmc1080537; Sat, 27 Oct 2012 00:20:48 -0700 (PDT) (envelope-from brian) Date: Sat, 27 Oct 2012 00:20:48 -0700 From: Brian Somers To: Hiroki Sato Subject: Re: svn commit: r242074 - head/etc/rc.d Message-ID: <20121027072048.GB77528@thong.lan.Awfulhak.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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UFHRwCdBEJvubb2X" Content-Disposition: inline In-Reply-To: <20121027.155707.2226765252880570777.hrs@allbsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-1.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gw.lan.Awfulhak.org Cc: svn-src-head@FreeBSD.org, dim@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, brian@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 07:20:53 -0000 --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 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 Don't _EVER_ lose your sense of humour ! --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--