From owner-freebsd-stable@FreeBSD.ORG Wed Oct 18 20:39:22 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B5D516A40F for ; Wed, 18 Oct 2006 20:39:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [216.148.227.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DCFC43D6E for ; Wed, 18 Oct 2006 20:39:21 +0000 (GMT) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-67-174-220-97.hsd1.ca.comcast.net[67.174.220.97]) by comcast.net (rwcrmhc13) with ESMTP id <20061018203909m1300m5vp7e>; Wed, 18 Oct 2006 20:39:21 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 4A9711FA037; Wed, 18 Oct 2006 13:39:04 -0700 (PDT) Date: Wed, 18 Oct 2006 13:39:04 -0700 From: Jeremy Chadwick To: Dmitry Pryanishnikov Message-ID: <20061018203904.GA47563@icarus.home.lan> Mail-Followup-To: Dmitry Pryanishnikov , "[LoN]Kamikaze" , freebsd-stable@freebsd.org References: <20061003164750.GA844@seth.augenstein.ten> <20061018152906.GA929@seth.augenstein.ten> <45365B73.5050409@gmx.de> <20061018231326.G8154@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061018231326.G8154@atlantis.atlantis.dp.ua> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: "\[LoN\]Kamikaze" , freebsd-stable@freebsd.org Subject: Re: 6.2-PRE /boot/loader X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 20:39:22 -0000 On Wed, Oct 18, 2006 at 11:20:37PM +0300, Dmitry Pryanishnikov wrote: > No, it isn't. It's new and shiny (yet harmless) bug, which made it's way > into the RELENG_6 with the following commit: > > ume 2006-10-16 15:09:24 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > etc/rc.d auto_linklocal > sys/netinet6 in6_ifattach.c > Log: > MFC: Revert the default value of net.inet6.ip6.auto_linklocal to 1. > If ipv6_enable is not set to "YES", net.inet6.ip6.auto_linklocal > is turned to 0 at boot. > > and this is the result of the /etc/rc.d/auto_linklocal execution on > IPv6-less kernel. The rc.d/auto_linklocal script does this: auto_linklocal_start() { if ! checkyesno ipv6_enable; then ${SYSCTL_W} net.inet6.ip6.auto_linklocal=0 fi } The condition for this code getting called is weird. It would require ipv6_enable="no" (which is default)... yet it goes and tinkers with ipv6 sysctls anyways. I assume that the idea behind ipv6_enable is that it's ONLY set to "yes" by administrators who want to do IPv6-related things. (My point: It's bad to try and set IPv6 sysctl when an administrator doesn't have ipv6_enable="yes") This feature probably needs its own rc.conf option. Maybe this is what the author had intended? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |