From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 11:00:33 2008 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DB75106564A; Mon, 24 Mar 2008 11:00:33 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 74DB18FC13; Mon, 24 Mar 2008 11:00:33 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OB0Xcp086695; Mon, 24 Mar 2008 11:00:33 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OB0XmJ086691; Mon, 24 Mar 2008 11:00:33 GMT (envelope-from remko) Date: Mon, 24 Mar 2008 11:00:33 GMT Message-Id: <200803241100.m2OB0XmJ086691@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: conf/122036: [rc.d]: Mounting at boot with ZFS causes a halt in booting X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 11:00:33 -0000 Old Synopsis: Mounting at boot with ZFS causes a halt in booting New Synopsis: [rc.d]: Mounting at boot with ZFS causes a halt in booting Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: remko Responsible-Changed-When: Mon Mar 24 11:00:00 UTC 2008 Responsible-Changed-Why: I think this is due to starting up the zfs scripts and doing mounts. Can the -RC group look at this please? http://www.freebsd.org/cgi/query-pr.cgi?pr=122036 From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 11:07:13 2008 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8941065688 for ; Mon, 24 Mar 2008 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE2E8FC26 for ; Mon, 24 Mar 2008 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OB7CNX087913 for ; Mon, 24 Mar 2008 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OB7Cbq087909 for freebsd-rc@FreeBSD.org; Mon, 24 Mar 2008 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Mar 2008 11:07:12 GMT Message-Id: <200803241107.m2OB7Cbq087909@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 11:07:13 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/98758 rc [jail] [patch] Templatize 'jail_fstab' in /etc/rc.d/ja o conf/98846 rc [jail] [patch] Templatize 'jail_rootdir' in /etc/rc.d/ o conf/105689 rc [ppp] [request] syslogd starts too late at boot o conf/118255 rc savecore never finding kernel core dumps (rcorder prob o conf/122036 rc [rc.d]: Mounting at boot with ZFS causes a halt in boo 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/44170 rc [patch] Add ability to run multiple pppoed(8) on start o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/56934 rc [patch] rc.firewall rules for natd expect an interface o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f bin/65258 rc [patch] [request] save /etc/rc.firewall from changing o conf/73677 rc [patch] add support for powernow states to power_profi o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o conf/88913 rc [patch] wrapper support for rc.subr o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o conf/103486 rc [rc.d] [jail] [patch] rc.d/jail: mount fstab after dev o conf/103489 rc [rc.d] [jail] [patch] named_chroot_autoupdate doesn't o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp o conf/105568 rc [patch] [request] Add more flexibility to rc.conf, to o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa f conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/114119 rc [jail] [patch] [request] /etc/rc.d/jail improvements f o conf/117935 rc [patch] ppp fails to start at boot because of missing o conf/118385 rc [patch] [rc] /etc/rc.d/motd doesn't work on custom sys o conf/119076 rc [patch] [rc] /etc/rc.d/netif tries to remove alias add o conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o conf/120194 rc [patch] UFS volumes on ZVOLs cannot be fsck'd at boot o conf/120228 rc [zfs] [patch] Split ZFS volume startup / ease ZFS swap o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. o conf/120431 rc [patch] devfs.rules are not initialized under certain o bin/121101 rc [patch] named(8): named_chroot_autoupdate forgets prot o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug 38 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 14:00:04 2008 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9700C1065678 for ; Mon, 24 Mar 2008 14:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8ECB98FC3D for ; Mon, 24 Mar 2008 14:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OE04N3005846 for ; Mon, 24 Mar 2008 14:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OE04Mi005845; Mon, 24 Mar 2008 14:00:04 GMT (envelope-from gnats) Date: Mon, 24 Mar 2008 14:00:04 GMT Message-Id: <200803241400.m2OE04Mi005845@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Norikatsu Shigemura Cc: Subject: Re: conf/122036: Mounting at boot with ZFS causes a halt in booting X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Norikatsu Shigemura List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 14:00:04 -0000 The following reply was made to PR conf/122036; it has been noted by GNATS. From: Norikatsu Shigemura To: Nicolas Blais Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: conf/122036: Mounting at boot with ZFS causes a halt in booting Date: Mon, 24 Mar 2008 22:53:10 +0900 Hi Nicolas. On Mon, 24 Mar 2008 07:59:39 GMT Nicolas Blais wrote: > During boot, it seems that the OS is trying to mount the entry in my fstab, but /etc/rc.d/zfs hasn't loaded or isn't finished yet and therefore causes the boot to stop. > Here's the entry in /etc/fstab that causes the boot to halt: > /tank/public/ftp /home/sam/ftp nullfs rw 0 0 Maybe, you should set 'late' to mount potion like following. > /tank/public/ftp /home/sam/ftp nullfs rw,late 0 0 From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 20:07:11 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C111065671 for ; Mon, 24 Mar 2008 20:07:11 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 66ACD8FC15 for ; Mon, 24 Mar 2008 20:07:11 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2OK7BkE041067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Mar 2008 13:07:11 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <47E809EE.4080809@errno.com> Date: Mon, 24 Mar 2008 13:07:10 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Subject: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 20:07:11 -0000 I tried to use syslog to debug an issue with dhclient and noticed that syslogd is started too late for it to work. This is because dhclient operates in a chroot jail so must setup it's connection to syslogd before privsep work is done. This seems like a general problem and one that should be fixed. Anyone got an idea how to correct this? Sam From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 21:32:02 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5035D1065674 for ; Mon, 24 Mar 2008 21:32:02 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5B68FC24 for ; Mon, 24 Mar 2008 21:32:02 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2OLW1qK041673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Mar 2008 14:32:01 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <47E81DD1.8050205@errno.com> Date: Mon, 24 Mar 2008 14:32:01 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Doug Barton References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> In-Reply-To: <47E81D12.5090201@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 21:32:02 -0000 Doug Barton wrote: > Sam Leffler wrote: >> I tried to use syslog to debug an issue with dhclient and noticed >> that syslogd is started too late for it to work. This is because >> dhclient operates in a chroot jail so must setup it's connection to >> syslogd before privsep work is done. This seems like a general >> problem and one that should be fixed. >> >> Anyone got an idea how to correct this? > > It's a chicken-and-egg issue because if you need the network to do > remote syslog'ing (or syslog'ing to an NFS partition, etc.), you need > the network up first. > > What I've done in similar situations is to modify a copy of > dhclient-script to spit out data to a text file. If you need something > more robust you could always change the ordering locally. If you need > help with that just let us know. Er, this is a problem that needs to be fixed; not hacked around w/ local mods. We are losing logging that makes diagnosing problems hard. Sam From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 21:45:00 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 312DD106566C for ; Mon, 24 Mar 2008 21:45:00 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with SMTP id B46CE8FC1B for ; Mon, 24 Mar 2008 21:44:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 20500 invoked by uid 399); 24 Mar 2008 21:50:47 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 24 Mar 2008 21:50:47 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <47E820D7.1060804@FreeBSD.org> Date: Mon, 24 Mar 2008 14:44:55 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (X11/20080319) MIME-Version: 1.0 To: Sam Leffler References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> <47E81DD1.8050205@errno.com> In-Reply-To: <47E81DD1.8050205@errno.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 21:45:00 -0000 Sam Leffler wrote: > Doug Barton wrote: >> Sam Leffler wrote: >>> I tried to use syslog to debug an issue with dhclient and noticed >>> that syslogd is started too late for it to work. This is because >>> dhclient operates in a chroot jail so must setup it's connection to >>> syslogd before privsep work is done. This seems like a general >>> problem and one that should be fixed. >>> >>> Anyone got an idea how to correct this? >> >> It's a chicken-and-egg issue because if you need the network to do >> remote syslog'ing (or syslog'ing to an NFS partition, etc.), you need >> the network up first. >> >> What I've done in similar situations is to modify a copy of >> dhclient-script to spit out data to a text file. If you need something >> more robust you could always change the ordering locally. If you need >> help with that just let us know. > > Er, this is a problem that needs to be fixed; not hacked around w/ local > mods. We are losing logging that makes diagnosing problems hard. There is a purpose for the order as it exists, so I would argue that it is not a problem that needs to be fixed. However I'll let others respond now. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 21:49:54 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB89F106564A; Mon, 24 Mar 2008 21:49:54 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id B395D8FC19; Mon, 24 Mar 2008 21:49:54 +0000 (UTC) (envelope-from sam@errno.com) Received: from Macintosh-2.local ([10.0.0.196]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2OLnrkP041757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Mar 2008 14:49:54 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <47E82201.3000502@errno.com> Date: Mon, 24 Mar 2008 14:49:53 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Doug Barton References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> <47E81DD1.8050205@errno.com> <47E820D7.1060804@FreeBSD.org> In-Reply-To: <47E820D7.1060804@FreeBSD.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 21:49:55 -0000 Doug Barton wrote: > Sam Leffler wrote: >> Doug Barton wrote: >>> Sam Leffler wrote: >>>> I tried to use syslog to debug an issue with dhclient and noticed >>>> that syslogd is started too late for it to work. This is because >>>> dhclient operates in a chroot jail so must setup it's connection to >>>> syslogd before privsep work is done. This seems like a general >>>> problem and one that should be fixed. >>>> >>>> Anyone got an idea how to correct this? >>> >>> It's a chicken-and-egg issue because if you need the network to do >>> remote syslog'ing (or syslog'ing to an NFS partition, etc.), you need >>> the network up first. >>> >>> What I've done in similar situations is to modify a copy of >>> dhclient-script to spit out data to a text file. If you need >>> something more robust you could always change the ordering locally. >>> If you need help with that just let us know. >> >> Er, this is a problem that needs to be fixed; not hacked around w/ >> local mods. We are losing logging that makes diagnosing problems hard. > > There is a purpose for the order as it exists, so I would argue that it > is not a problem that needs to be fixed. However I'll let others respond > now. > > Doug > I am fully aware of the ordering constraints but if we are to depend on syslogd for logging messages then this cannot remain. This is really a byproduct of using privsep in various applications and it may be that we need to come up with a solution whereby privsep support learns how to deal with this problem. But saying "it's not a problem that needs to be fixed" is utterly lame. Sam From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 21:51:17 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DBC81065673 for ; Mon, 24 Mar 2008 21:51:17 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 25D0A8FC19 for ; Mon, 24 Mar 2008 21:51:17 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m2OLnutQ090862; Mon, 24 Mar 2008 16:49:56 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m2OLnuHr090861; Mon, 24 Mar 2008 16:49:56 -0500 (CDT) (envelope-from brooks) Date: Mon, 24 Mar 2008 16:49:56 -0500 From: Brooks Davis To: Sam Leffler Message-ID: <20080324214956.GH71536@lor.one-eyed-alien.net> References: <47E809EE.4080809@errno.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yzvKDKJiLNESc64M" Content-Disposition: inline In-Reply-To: <47E809EE.4080809@errno.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-rc@freebsd.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 21:51:18 -0000 --yzvKDKJiLNESc64M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 24, 2008 at 01:07:10PM -0700, Sam Leffler wrote: > I tried to use syslog to debug an issue with dhclient and noticed that=20 > syslogd is started too late for it to work. This is because dhclient=20 > operates in a chroot jail so must setup it's connection to syslogd before= =20 > privsep work is done. This seems like a general problem and one that=20 > should be fixed. >=20 > Anyone got an idea how to correct this? I think we may need to reconsider some of our startup ordering rules. Currently we support configurations where local machines have a / on them, configure and interface, and then mount /usr via NFS. I'm not entirely sure that's a reasonable target given that basically everything netboots these days and am no longer convinced that's worth the associated cost. If we relaxed that a bit we might do better. I do think it's OK to mount /usr via NFS, but we might consider requiring that the interface already be configured in that case. We'd need a script that actually did what mountcritremote's name implied and attempted to mount critical remote file systems earlier and probably a script filling its current role. If we did that we could move the start of syslogd before netif. The question is, how do we do that? The following will work if /usr is mounted by one of FILESYSTEMS depends or as part of /. -- Brooks Index: netif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/cvs/src/etc/rc.d/netif,v retrieving revision 1.25 diff -u -p -r1.25 netif --- netif 26 Jan 2008 11:22:12 -0000 1.25 +++ netif 24 Mar 2008 21:45:27 -0000 @@ -26,7 +26,7 @@ # =20 # PROVIDE: netif -# REQUIRE: atm1 cleanvar ipfilter FILESYSTEMS serial sppp sysctl +# REQUIRE: atm1 cleanvar ipfilter FILESYSTEMS serial sppp sysctl syslogd # KEYWORD: nojail =20 . /etc/rc.subr Index: syslogd =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/cvs/src/etc/rc.d/syslogd,v retrieving revision 1.13 diff -u -p -r1.13 syslogd --- syslogd 8 Dec 2007 07:20:22 -0000 1.13 +++ syslogd 24 Mar 2008 21:44:30 -0000 @@ -4,7 +4,7 @@ # =20 # PROVIDE: syslogd -# REQUIRE: mountcritremote cleanvar newsyslog +# REQUIRE: cleanvar newsyslog # BEFORE: SERVERS =20 . /etc/rc.subr Index: newsyslog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/cvs/src/etc/rc.d/newsyslog,v retrieving revision 1.6 diff -u -p -r1.6 newsyslog --- newsyslog 8 Dec 2007 07:20:22 -0000 1.6 +++ newsyslog 24 Mar 2008 21:44:41 -0000 @@ -4,7 +4,7 @@ # =20 # PROVIDE: newsyslog -# REQUIRE: cleanvar mountcritremote +# REQUIRE: cleanvar =20 . /etc/rc.subr =20 --yzvKDKJiLNESc64M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFH6CIDXY6L6fI4GtQRAoe7AJ9KAGxghVyGYsSYJ9nEbrS7W47azgCZAatY vQqdsKc+QfZh5kG2sHCIuvM= =vkOn -----END PGP SIGNATURE----- --yzvKDKJiLNESc64M-- From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 21:57:02 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6BD4106566B for ; Mon, 24 Mar 2008 21:57:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with SMTP id 2F8E88FC29 for ; Mon, 24 Mar 2008 21:57:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 23187 invoked by uid 399); 24 Mar 2008 21:34:40 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 24 Mar 2008 21:34:40 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <47E81D12.5090201@FreeBSD.org> Date: Mon, 24 Mar 2008 14:28:50 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (X11/20080319) MIME-Version: 1.0 To: Sam Leffler References: <47E809EE.4080809@errno.com> In-Reply-To: <47E809EE.4080809@errno.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 21:57:02 -0000 Sam Leffler wrote: > I tried to use syslog to debug an issue with dhclient and noticed that > syslogd is started too late for it to work. This is because dhclient > operates in a chroot jail so must setup it's connection to syslogd > before privsep work is done. This seems like a general problem and one > that should be fixed. > > Anyone got an idea how to correct this? It's a chicken-and-egg issue because if you need the network to do remote syslog'ing (or syslog'ing to an NFS partition, etc.), you need the network up first. What I've done in similar situations is to modify a copy of dhclient-script to spit out data to a text file. If you need something more robust you could always change the ordering locally. If you need help with that just let us know. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 22:51:08 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20E1A106566C for ; Mon, 24 Mar 2008 22:51:08 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with SMTP id 9DFA78FC22 for ; Mon, 24 Mar 2008 22:51:07 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 16750 invoked by uid 399); 24 Mar 2008 22:56:56 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 24 Mar 2008 22:56:56 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <47E83055.9070809@FreeBSD.org> Date: Mon, 24 Mar 2008 15:51:01 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Sam Leffler References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> <47E81DD1.8050205@errno.com> <47E820D7.1060804@FreeBSD.org> <47E82201.3000502@errno.com> In-Reply-To: <47E82201.3000502@errno.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 22:51:08 -0000 Sam Leffler wrote: > But saying "it's not a problem that needs to be > fixed" is utterly lame. Since that's not what I intended to convey let me be less concise. 1. Changes to the current rc order need to have a very solid and well thought out rationale which includes a detailed cost/benefit analysis since historically it's been difficult to anticipate all of the potential fallout from a change, and we don't want to violate POLA. 2. You are stating a problem case whose cost does not sound compelling to me, both because I personally don't think "fixing" it would provide much value, and because it would cause a significant change in the current order which inevitably brings a great deal of cost (whether those costs can eventually be ameliorated or not). 3. The burden is on the one requesting a change to demonstrate its benefit. Saying "it's a problem and needs to be fixed" (not accompanied by patches) could also be considered "lame." :) 4. My analysis of the potential costs and benefits might well be wrong, which is why I'd like some other people to weigh in. To summarize, I am not saying I don't think it's a problem. I'm saying that we need more discussion to determine what the problem actually is, what solutions are available, and at what cost. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Tue Mar 25 00:05:48 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1890106564A; Tue, 25 Mar 2008 00:05:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 611F38FC1A; Tue, 25 Mar 2008 00:05:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m2P033tJ050156; Mon, 24 Mar 2008 18:03:03 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 24 Mar 2008 18:03:44 -0600 (MDT) Message-Id: <20080324.180344.106014229.imp@bsdimp.com> To: sam@errno.com From: "M. Warner Losh" In-Reply-To: <47E81DD1.8050205@errno.com> References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> <47E81DD1.8050205@errno.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: dougb@FreeBSD.org, freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 00:05:48 -0000 In message: <47E81DD1.8050205@errno.com> Sam Leffler writes: : Doug Barton wrote: : > Sam Leffler wrote: : >> I tried to use syslog to debug an issue with dhclient and noticed : >> that syslogd is started too late for it to work. This is because : >> dhclient operates in a chroot jail so must setup it's connection to : >> syslogd before privsep work is done. This seems like a general : >> problem and one that should be fixed. : >> : >> Anyone got an idea how to correct this? : > : > It's a chicken-and-egg issue because if you need the network to do : > remote syslog'ing (or syslog'ing to an NFS partition, etc.), you need : > the network up first. : > : > What I've done in similar situations is to modify a copy of : > dhclient-script to spit out data to a text file. If you need something : > more robust you could always change the ordering locally. If you need : > help with that just let us know. : : Er, this is a problem that needs to be fixed; not hacked around w/ local : mods. We are losing logging that makes diagnosing problems hard. Yes. We need to fix syslogd to be able to start before the network or even FS are mounted and have the only thing that goes 'bad' be the data to the missing data sinks (disk, network, etc). A quick fix to this would be to have syslog get a HUP after each of these events and start syslogd just as soon as /usr is mounted. Warner From owner-freebsd-rc@FreeBSD.ORG Tue Mar 25 00:12:03 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76B3F106566C; Tue, 25 Mar 2008 00:12:03 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2B88FC1F; Tue, 25 Mar 2008 00:12:03 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2P0C29W042582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Mar 2008 17:12:02 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <47E84352.1010506@errno.com> Date: Mon, 24 Mar 2008 17:12:02 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Doug Barton References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> <47E81DD1.8050205@errno.com> <47E820D7.1060804@FreeBSD.org> <47E82201.3000502@errno.com> <47E83055.9070809@FreeBSD.org> In-Reply-To: <47E83055.9070809@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 00:12:03 -0000 Doug Barton wrote: > Sam Leffler wrote: >> But saying "it's not a problem that needs to be fixed" is utterly lame. > > Since that's not what I intended to convey let me be less concise. > > 1. Changes to the current rc order need to have a very solid and well > thought out rationale which includes a detailed cost/benefit analysis > since historically it's been difficult to anticipate all of the > potential fallout from a change, and we don't want to violate POLA. > > 2. You are stating a problem case whose cost does not sound compelling > to me, both because I personally don't think "fixing" it would provide > much value, and because it would cause a significant change in the > current order which inevitably brings a great deal of cost (whether > those costs can eventually be ameliorated or not). > > 3. The burden is on the one requesting a change to demonstrate its > benefit. Saying "it's a problem and needs to be fixed" (not > accompanied by patches) could also be considered "lame." :) > > 4. My analysis of the potential costs and benefits might well be > wrong, which is why I'd like some other people to weigh in. > > To summarize, I am not saying I don't think it's a problem. I'm saying > that we need more discussion to determine what the problem actually > is, what solutions are available, and at what cost. I have _already_ demonstrated a need--the way things currently are ANY privsep/chroot application started prior to syslogd will NEVER log any messages. I noticed this because of dhclient (and wpa_supplicant which very shortly will be logging msgs to syslog) but I expect there are other services if you look and I wouldn't be the least surprised if more get added (does named work?). I didn't expect a fix to be simple; if it were I'd have just done it myself. Saying "fix it your self and send us a patch" is worse than lame. Sam From owner-freebsd-rc@FreeBSD.ORG Tue Mar 25 02:54:17 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF9B11065672 for ; Tue, 25 Mar 2008 02:54:17 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 815988FC17 for ; Tue, 25 Mar 2008 02:54:17 +0000 (UTC) (envelope-from sam@errno.com) Received: from Macintosh-2.local ([10.0.0.196]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m2P2s5fA043296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Mar 2008 19:54:05 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <47E8694D.7040400@errno.com> Date: Mon, 24 Mar 2008 19:54:05 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: "M. Warner Losh" References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> <47E81DD1.8050205@errno.com> <20080324.180344.106014229.imp@bsdimp.com> In-Reply-To: <20080324.180344.106014229.imp@bsdimp.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 02:54:18 -0000 M. Warner Losh wrote: > In message: <47E81DD1.8050205@errno.com> > Sam Leffler writes: > : Doug Barton wrote: > : > Sam Leffler wrote: > : >> I tried to use syslog to debug an issue with dhclient and noticed > : >> that syslogd is started too late for it to work. This is because > : >> dhclient operates in a chroot jail so must setup it's connection to > : >> syslogd before privsep work is done. This seems like a general > : >> problem and one that should be fixed. > : >> > : >> Anyone got an idea how to correct this? > : > > : > It's a chicken-and-egg issue because if you need the network to do > : > remote syslog'ing (or syslog'ing to an NFS partition, etc.), you need > : > the network up first. > : > > : > What I've done in similar situations is to modify a copy of > : > dhclient-script to spit out data to a text file. If you need something > : > more robust you could always change the ordering locally. If you need > : > help with that just let us know. > : > : Er, this is a problem that needs to be fixed; not hacked around w/ local > : mods. We are losing logging that makes diagnosing problems hard. > > Yes. We need to fix syslogd to be able to start before the network > or even FS are mounted and have the only thing that goes 'bad' be the > data to the missing data sinks (disk, network, etc). A quick fix to > this would be to have syslog get a HUP after each of these events and > start syslogd just as soon as /usr is mounted. Yes, I agree changing syslogd may be best even if we can shuffle the order of rc scripts. It might not be too bad to have syslogd buffer msgs until the sink (e.g. log file) is available (maybe use a ring buffer to limit resource use). It might not be too bad to just stat for the sink on each received msg since this should hopefully be a very short window. If we don't change syslogd then we'd need to change the client code which seems much more complicated. Sam From owner-freebsd-rc@FreeBSD.ORG Tue Mar 25 11:00:07 2008 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0248C1065674 for ; Tue, 25 Mar 2008 11:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DFA588FC2F for ; Tue, 25 Mar 2008 11:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2PB06d9040983 for ; Tue, 25 Mar 2008 11:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2PB06oQ040976; Tue, 25 Mar 2008 11:00:06 GMT (envelope-from gnats) Date: Tue, 25 Mar 2008 11:00:06 GMT Message-Id: <200803251100.m2PB06oQ040976@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Robert Schulze Cc: Subject: Re: kern/121566: [nfs] [request] [patch] ethernet iface should be brought up when booting from a mfs_root over nfs X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Schulze List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 11:00:07 -0000 The following reply was made to PR kern/121566; it has been noted by GNATS. From: Robert Schulze To: bug-followup@FreeBSD.org, rs@bytecamp.net Cc: Subject: Re: kern/121566: [nfs] [request] [patch] ethernet iface should be brought up when booting from a mfs_root over nfs Date: Tue, 25 Mar 2008 11:54:38 +0100 This is a multi-part message in MIME format. --------------000406030500060509050702 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit First sorry for the first "proof-of-concept"-like patch. I now appended one that does some more checking and sets nfsroot according to variables from kenv to accomplish relative paths in diskless_remount. with kind regards, Robert Schulze --------------000406030500060509050702 Content-Type: text/x-patch; name="rc.initdiskless.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rc.initdiskless.patch" --- rc.initdiskless.dflt Tue Mar 25 11:49:22 2008 +++ rc.initdiskless Tue Mar 25 11:25:09 2008 @@ -163,6 +163,47 @@ fi } +# Fire up an interface to do nfs-mounts if this machine +# was booted from a md_root +# Use kenv to get the configuration vom dhcp like +# /sys/nfsclient/nfs_vfsops.c does + +ifconfig_kenv() +{ +IF=`kenv | grep 'boot.netif.name' | awk 'BEGIN {FS="="} {print $2}' | sed 's/"//g'` + +# check if ifname is nonempty +# +if [ "x$IF" = "x" ]; then + return 0 +fi + +# check if interface is already up +# +ifcfg=`ifconfig ${IF} | grep -q inet` +if [ $? -eq "0" ]; then + return 0 +fi + +GW=`kenv | grep 'boot.netif.gateway' | awk 'BEGIN {FS="="} {print $2}' | sed 's/"//g'` +IP=`kenv | grep 'boot.netif.ip' | awk 'BEGIN {FS="="} {print $2}' | sed 's/"//g'` +NM=`kenv | grep 'boot.netif.netmask' | awk 'BEGIN {FS="="} {print $2}' | sed 's/"//g'` + +echo "configuring $IF from kenv: $IP netmask $NM gw $GW" +ifconfig $IF $IP netmask $NM up +route add default $GW + +# setting nfsroot to accomplish relative paths +# in diskless_remount + +nfsroot=`kenv | grep 'boot.nfsroot.path' | awk 'BEGIN {FS="="} {print $2}' | sed 's/"//g'` +nfsserver=`kenv | grep 'boot.nfsroot.server' | awk 'BEGIN {FS="="} {print $2}' | sed 's/"//g'` + +nfsroot="$nfsserver:$nfsroot" + + +} + # DEBUGGING # # set -v @@ -175,6 +216,8 @@ class="" if [ ${dlv:=0} -ne 0 ] ; then iflist=`ifconfig -l` + ifconfig_kenv + for i in ${iflist} ; do set -- `ifconfig ${i}` while [ $# -ge 1 ] ; do --------------000406030500060509050702-- From owner-freebsd-rc@FreeBSD.ORG Tue Mar 25 14:00:04 2008 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C76341065676 for ; Tue, 25 Mar 2008 14:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BDF648FC2B for ; Tue, 25 Mar 2008 14:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2PE04Jv057098 for ; Tue, 25 Mar 2008 14:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2PE04xX057097; Tue, 25 Mar 2008 14:00:04 GMT (envelope-from gnats) Date: Tue, 25 Mar 2008 14:00:04 GMT Message-Id: <200803251400.m2PE04xX057097@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: "Nicolas Blais" Cc: Subject: Re: conf/122036: Mounting at boot with ZFS causes a halt in booting X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nicolas Blais List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 14:00:04 -0000 The following reply was made to PR conf/122036; it has been noted by GNATS. From: "Nicolas Blais" To: "Norikatsu Shigemura" Cc: freebsd-gnats-submit@freebsd.org Subject: Re: conf/122036: Mounting at boot with ZFS causes a halt in booting Date: Mon, 24 Mar 2008 23:34:18 -0400 (Eastern Daylight Time) > Hi Nicolas. > > On Mon, 24 Mar 2008 07:59:39 GMT > Nicolas Blais wrote: >> During boot, it seems that the OS is trying to mount the entry in my >> fstab, but /etc/rc.d/zfs hasn't loaded or isn't finished yet and >> therefore causes the boot to stop. >> Here's the entry in /etc/fstab that causes the boot to halt: >> /tank/public/ftp /home/sam/ftp nullfs rw 0 0 > > Maybe, you should set 'late' to mount potion like following. > >> /tank/public/ftp /home/sam/ftp nullfs rw,late 0 0 > That worked, thanks! "man fstab" doesn't say anything about that option, which is important for people using ZFS... Thanks again, Nicolas From owner-freebsd-rc@FreeBSD.ORG Tue Mar 25 22:57:39 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C25D1106564A for ; Tue, 25 Mar 2008 22:57:39 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 5875F8FC1A for ; Tue, 25 Mar 2008 22:57:39 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 7054 invoked by uid 399); 25 Mar 2008 23:03:41 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 25 Mar 2008 23:03:41 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <47E98361.3060500@FreeBSD.org> Date: Tue, 25 Mar 2008 15:57:37 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Sam Leffler References: <47E809EE.4080809@errno.com> <47E81D12.5090201@FreeBSD.org> <47E81DD1.8050205@errno.com> <47E820D7.1060804@FreeBSD.org> <47E82201.3000502@errno.com> <47E83055.9070809@FreeBSD.org> <47E84352.1010506@errno.com> In-Reply-To: <47E84352.1010506@errno.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: boot ordering and syslogd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 22:57:39 -0000 Sam Leffler wrote: > I have _already_ demonstrated a need I'm going to try this one more time. You've put forward an argument that YOU find compelling. You might be right. I haven't even said that you're wrong, just that I would like to hear more about it. Given the number of years we've been working with the rc.d stuff with syslogd starting in roughly the position that it's in now, I don't see this as the emergency that it seems to me that you do. > --the way things currently are ANY > privsep/chroot application started prior to syslogd will NEVER log any > messages. It has always been a general expectation that at least chroot'ed apps make provisions for their own logging, whether that's to syslog, to other channels, or to both (as named is capable of doing). Solving this in a general way would be nice of course, but given that no one responsible for the stuff that starts before syslogd has mentioned that a general solution is a hard and fast requirement until now, it's not a topic that has received a lot of attention. It's probably also worth mentioning that you can get at least some of what you're looking for with the console syslog facility. I have: *.* /var/log/all.log in my syslogd.conf file, and I get all the console messages in that log, including the ones that come before syslogd is started. I don't suggest that this is a final solution, but it is something that is available now. > I noticed this because of dhclient (and wpa_supplicant which > very shortly will be logging msgs to syslog) but I expect there are > other services if you look and I wouldn't be the least surprised if more > get added Then I can certainly see why this issue has become important to you. > (does named work?). See above, also in the current order named starts after syslogd so this is less of an issue for me. > I didn't expect a fix to be simple; if it were I'd have just done it > myself. Saying "fix it your self and send us a patch" is worse than lame. I think you missed the smiley. :) It sounds like Warner and Brooks both have interesting ideas on this topic in any case so I'll let them pick up the thread. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Wed Mar 26 08:46:40 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90864106564A for ; Wed, 26 Mar 2008 08:46:40 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id BA5148FC19 for ; Wed, 26 Mar 2008 08:46:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m2Q8kR0v093502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Mar 2008 08:46:32 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.0 smtp.infracaninophile.co.uk m2Q8kR0v093502 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1206521192; bh=pjfaMQFqAKfIj3 BXLzzeNhW5EcXJHuNWumRMsp5qfzk=; h=Message-ID:Date:From:MIME-Version: To:Content-Type:Content-Transfer-Encoding:Cc:Content-Type:Date: From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Message- ID:=20<47EA0D62.6030800@infracaninophile.co.uk>|Date:=20Wed,=2026=2 0Mar=202008=2008:46:26=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agen t:=20Thunderbird=202.0.0.12=20(X11/20080310)|MIME-Version:=201.0|To :=20freebsd-rc@freebsd.org|Subject:=20Visualizing=20RC=20script=20d ependencies|X-Enigmail-Version:=200.95.0|Content-Type:=20text/plain =3B=20charset=3DUTF-8|Content-Transfer-Encoding:=207bit; b=o3YYKN19 dcQDIcZ6HlcSlmVf2pvodzonO2G67XbfIJbdVfSpxueIfg7RH0+BM/00YJg3XRWZswL 9kBiyK8mOyA5MDTvRL2r+2DlvMcSm2wFNykiSFJIa/YhnxuC/ew3lvYf9By4GP+c6yr D443/LqjTY6N6Yf02Fs91xrtDxfRg= Message-ID: <47EA0D62.6030800@infracaninophile.co.uk> Date: Wed, 26 Mar 2008 08:46:26 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080310) MIME-Version: 1.0 To: freebsd-rc@freebsd.org X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Wed, 26 Mar 2008 08:46:32 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92.1/6392/Tue Mar 25 12:44:02 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Subject: Visualizing RC script dependencies X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 08:46:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 You might find this interesting... http://www.links.org/?p=310 Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkfqDWIACgkQ3jDkPpsZ+VZOTgCfUnUQHu1RJw+py8D/Ffck/U/F Lq0AoJf+dclI0yoQcl+fRIyLAfPNZfiQ =8BKG -----END PGP SIGNATURE----- From owner-freebsd-rc@FreeBSD.ORG Thu Mar 27 16:30:40 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8AD3106568E for ; Thu, 27 Mar 2008 16:30:40 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 636E48FC2B for ; Thu, 27 Mar 2008 16:30:40 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 3873E208C; Thu, 27 Mar 2008 17:18:23 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Adrian Penisoara" Date: Thu, 27 Mar 2008 16:40:52 +0100 References: <78cb3d3f0803101440l54384d82rf57044aa9418efdf@mail.gmail.com> Message-ID: <86prtgb0oh.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Zaphod Beeblebrox , freebsd-rc@freebsd.org Subject: Re: ZFS startup scripts X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 16:30:47 -0000 A little old, but - On Sat, Mar 8, 2008 at 9:53 PM, Zaphod Beeblebrox wrote: > The startup scripts for ZFS are still a little green. One issue is > that the startup script 'requires' mountcritlocal --- I assume because > it figures it requires it so that it's own filesystems will mount on > top of other local UFS ones. No, it requires mountcritlocal because it needs write access to /boot/zfs/zpool.cache and /etc/zfs/exports. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-rc@FreeBSD.ORG Fri Mar 28 04:13:01 2008 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CCE51065675; Fri, 28 Mar 2008 04:13:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2DAF88FC12; Fri, 28 Mar 2008 04:13:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2S4D1EZ077174; Fri, 28 Mar 2008 04:13:01 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2S4D149077170; Fri, 28 Mar 2008 04:13:01 GMT (envelope-from linimon) Date: Fri, 28 Mar 2008 04:13:01 GMT Message-Id: <200803280413.m2S4D149077170@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: conf/122170: [patch] [request] New feature: notify admin via page on startup and shutdown X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 04:13:01 -0000 Old Synopsis: New feature: Page admin on startup and shutdown New Synopsis: [patch] [request] New feature: notify admin via page on startup and shutdown Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Fri Mar 28 04:11:49 UTC 2008 Responsible-Changed-Why: Fix up the synopsis a little bit, and assign to maintainers. http://www.freebsd.org/cgi/query-pr.cgi?pr=122170 From owner-freebsd-rc@FreeBSD.ORG Fri Mar 28 12:24:30 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CCE91065674 for ; Fri, 28 Mar 2008 12:24:30 +0000 (UTC) (envelope-from jon.passki@hursk.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 91E188FC21 for ; Fri, 28 Mar 2008 12:24:28 +0000 (UTC) (envelope-from jon.passki@hursk.com) Received: by nf-out-0910.google.com with SMTP id b2so192012nfb.33 for ; Fri, 28 Mar 2008 05:24:26 -0700 (PDT) Received: by 10.78.179.3 with SMTP id b3mr9357334huf.66.1206705462089; Fri, 28 Mar 2008 04:57:42 -0700 (PDT) Received: by 10.78.187.1 with HTTP; Fri, 28 Mar 2008 04:57:42 -0700 (PDT) Message-ID: Date: Fri, 28 Mar 2008 06:57:42 -0500 From: "Jon Passki" To: freebsd-rc@freebsd.org In-Reply-To: <200803280413.m2S4D149077170@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803280413.m2S4D149077170@freefall.freebsd.org> Subject: Re: conf/122170: [patch] [request] New feature: notify admin via page on startup and shutdown X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 12:24:30 -0000 On Thu, Mar 27, 2008 at 11:13 PM, wrote: > Old Synopsis: New feature: Page admin on startup and shutdown > New Synopsis: [patch] [request] New feature: notify admin via page on startup and shutdown > > Responsible-Changed-From-To: freebsd-bugs->freebsd-rc > Responsible-Changed-By: linimon > Responsible-Changed-When: Fri Mar 28 04:11:49 UTC 2008 > Responsible-Changed-Why: > Fix up the synopsis a little bit, and assign to maintainers. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=122170 This requires the comms/qpage port to be installed, correct? Should it not then be added to the port and reside in $PREFIX/etc/rc.d? Jon From owner-freebsd-rc@FreeBSD.ORG Sat Mar 29 02:24:51 2008 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D31F0106566B; Sat, 29 Mar 2008 02:24:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB88B8FC16; Sat, 29 Mar 2008 02:24:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2T2Opi9057429; Sat, 29 Mar 2008 02:24:51 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2T2OpEQ057425; Sat, 29 Mar 2008 02:24:51 GMT (envelope-from linimon) Date: Sat, 29 Mar 2008 02:24:51 GMT Message-Id: <200803290224.m2T2OpEQ057425@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: conf/122215: startup script for hostid fails in single user X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 02:24:52 -0000 Synopsis: startup script for hostid fails in single user Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Sat Mar 29 02:24:25 UTC 2008 Responsible-Changed-Why: Appears to be about /etc/rc.conf/hostid. http://www.freebsd.org/cgi/query-pr.cgi?pr=122215