From owner-freebsd-rc@FreeBSD.ORG Mon Mar 10 11:07:10 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 51A841065676 for ; Mon, 10 Mar 2008 11:07:10 +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 5754D8FC18 for ; Mon, 10 Mar 2008 11:07:10 +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 m2AB7AOW086676 for ; Mon, 10 Mar 2008 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2AB79MA086672 for freebsd-rc@FreeBSD.org; Mon, 10 Mar 2008 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Mar 2008 11:07:09 GMT Message-Id: <200803101107.m2AB79MA086672@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, 10 Mar 2008 11:07:10 -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 4 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- 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 36 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Mar 10 22:06:16 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 A30F71065675 for ; Mon, 10 Mar 2008 22:06:16 +0000 (UTC) (envelope-from ady@ady.ro) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 332EB8FC23 for ; Mon, 10 Mar 2008 22:06:15 +0000 (UTC) (envelope-from ady@ady.ro) Received: by wf-out-1314.google.com with SMTP id 25so2060688wfa.7 for ; Mon, 10 Mar 2008 15:06:14 -0700 (PDT) Received: by 10.142.101.17 with SMTP id y17mr2309327wfb.54.1205185270791; Mon, 10 Mar 2008 14:41:10 -0700 (PDT) Received: by 10.143.159.13 with HTTP; Mon, 10 Mar 2008 14:40:43 -0700 (PDT) Message-ID: <78cb3d3f0803101440l54384d82rf57044aa9418efdf@mail.gmail.com> Date: Mon, 10 Mar 2008 23:40:43 +0200 From: "Adrian Penisoara" Sender: ady@ady.ro To: "Zaphod Beeblebrox" MIME-Version: 1.0 X-Google-Sender-Auth: 4be664f25ea8e449 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-rc@freebsd.org Subject: ZFS startup scripts (was Re: On ZFS and 64/32 dual-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, 10 Mar 2008 22:06:16 -0000 Hi, In particular to ZFS rc.d scripts comments below... On Sat, Mar 8, 2008 at 9:53 PM, Zaphod Beeblebrox wrote: [...] > === What doesn't work OOTB === > > 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. At least in my case, this is backwards. I need zfs to run > BEFORE > mountcritlocal and BEFORE mdconfig. I have changed my require line to > 'root I'm not sure why you would need to have ZFS filesystems up before mdconfig. However, if you need ZFS volumes up before mdconfig, that's understandable and it is easily doable with a split ZFS startups scripts configuration, like the one I proposed in PR conf/120228 ( http://www.freebsd.org/cgi/query-pr.cgi?pr=120228 ). Basically the ZFS volumes initialization needs to occur as a "disks" requirement. > > hostid' ... since it's good to have the hostid already set and having root > r/w is also good. I don't think I've solved the "BEFORE" problem, but the > my requirements might make it into the CVS tree. > Actually, to respect the Un*x philospphy, I think you would need to list the "critical" filesystems in /etc/fstab. You could do that by specifying the filesystem type "zfs" and the ZFS path as device node, e.g., for a sysvol pool with "usr" filesystem: system/usr /usr zfs rw 0 0 Otherwise I think you are right, ZFS filesystems mounting should occur around the same time as "mountcritlocal". I have done a test with the following /etc/rc.d/zfs script header and appears to do the trick (you don't have to list the individual ZFS mounts in /etc/fstab): # PROVIDE: mountcritlocal zfs # REQUIRE: root However, that change proved to be unnecessary (and perhaps wrong) since /etc/rc.d/FILESYSTEMS already lists zfs as a dependency and most of the scripts keep FILESYSTEMS as a requirement. You would still need to use vfs.root.mountfrom in /boot/loader.conf to start from a ZFS filesystem root. > > This dependancy issue is an interesting one. I assume that the fstab code > make sure that filesystems are mounted in a sane order ... or maybe it's > just the order in the file itself --- I've never had a problem, so I don't > know. However, having this information in two places poses the immediate > problem... one person might have a ufs /usr and a zfs /usr/ports and > another > might have a zfs /usr and a ufs or nfs /usr/home. Calling zfs mount -a > either before or after mountcritlocal isn't going to make everyone happy. > Maybe it needs to be called both times? I dunno. I dunno if zfs can fail > gracefully when things it needs arn't mounted yet. > I guess FreeBSD philosophy (and Un*x in general) is to keep all filesystems to be mounted in /etc/fstab -- this way the order would be quite clear. Since this occurs in [/etc/rc.d/]mountcritlocal and mountcritlocal is listed as a requirement in /etc/rc.d/zfs, then you can rest assured that "zfs mount -a" will occur after mounting stuff in /etc/fstab. If you need to have an exception then forcibly mount it early in /etc/fstab (I guess you should do that anyway for important mountpoints like /usr and /var). [...] > > 2. Dependencies of /etc/rc.d/zfs need rethinking Check proposed patch in above quoted PR. Let me know if you have comments on that. Thank you, Adrian Penisoara ROFUG / EnterpriseBSD From owner-freebsd-rc@FreeBSD.ORG Mon Mar 10 22:06: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 00FA11065670 for ; Mon, 10 Mar 2008 22:06:39 +0000 (UTC) (envelope-from ady@ady.ro) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.188]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD888FC21 for ; Mon, 10 Mar 2008 22:06:38 +0000 (UTC) (envelope-from ady@ady.ro) Received: by rn-out-0910.google.com with SMTP id e11so1512763rng.7 for ; Mon, 10 Mar 2008 15:06:36 -0700 (PDT) Received: by 10.142.177.7 with SMTP id z7mr2272691wfe.238.1205185243818; Mon, 10 Mar 2008 14:40:43 -0700 (PDT) Received: by 10.143.159.13 with HTTP; Mon, 10 Mar 2008 14:40:43 -0700 (PDT) Message-ID: <78cb3d3f0803101440l54384d82rf57044aa9418efdf@mail.gmail.com> Date: Mon, 10 Mar 2008 23:40:43 +0200 From: "Adrian Penisoara" Sender: ady@ady.ro To: "Zaphod Beeblebrox" MIME-Version: 1.0 X-Google-Sender-Auth: 4be664f25ea8e449 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-rc@freebsd.org Subject: ZFS startup scripts (was Re: On ZFS and 64/32 dual-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, 10 Mar 2008 22:06:39 -0000 Hi, In particular to ZFS rc.d scripts comments below... On Sat, Mar 8, 2008 at 9:53 PM, Zaphod Beeblebrox wrote: [...] > === What doesn't work OOTB === > > 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. At least in my case, this is backwards. I need zfs to run > BEFORE > mountcritlocal and BEFORE mdconfig. I have changed my require line to > 'root I'm not sure why you would need to have ZFS filesystems up before mdconfig. However, if you need ZFS volumes up before mdconfig, that's understandable and it is easily doable with a split ZFS startups scripts configuration, like the one I proposed in PR conf/120228 ( http://www.freebsd.org/cgi/query-pr.cgi?pr=120228 ). Basically the ZFS volumes initialization needs to occur as a "disks" requirement. > > hostid' ... since it's good to have the hostid already set and having root > r/w is also good. I don't think I've solved the "BEFORE" problem, but the > my requirements might make it into the CVS tree. > Actually, to respect the Un*x philospphy, I think you would need to list the "critical" filesystems in /etc/fstab. You could do that by specifying the filesystem type "zfs" and the ZFS path as device node, e.g., for a sysvol pool with "usr" filesystem: system/usr /usr zfs rw 0 0 Otherwise I think you are right, ZFS filesystems mounting should occur around the same time as "mountcritlocal". I have done a test with the following /etc/rc.d/zfs script header and appears to do the trick (you don't have to list the individual ZFS mounts in /etc/fstab): # PROVIDE: mountcritlocal zfs # REQUIRE: root However, that change proved to be unnecessary (and perhaps wrong) since /etc/rc.d/FILESYSTEMS already lists zfs as a dependency and most of the scripts keep FILESYSTEMS as a requirement. You would still need to use vfs.root.mountfrom in /boot/loader.conf to start from a ZFS filesystem root. > > This dependancy issue is an interesting one. I assume that the fstab code > make sure that filesystems are mounted in a sane order ... or maybe it's > just the order in the file itself --- I've never had a problem, so I don't > know. However, having this information in two places poses the immediate > problem... one person might have a ufs /usr and a zfs /usr/ports and > another > might have a zfs /usr and a ufs or nfs /usr/home. Calling zfs mount -a > either before or after mountcritlocal isn't going to make everyone happy. > Maybe it needs to be called both times? I dunno. I dunno if zfs can fail > gracefully when things it needs arn't mounted yet. > I guess FreeBSD philosophy (and Un*x in general) is to keep all filesystems to be mounted in /etc/fstab -- this way the order would be quite clear. Since this occurs in [/etc/rc.d/]mountcritlocal and mountcritlocal is listed as a requirement in /etc/rc.d/zfs, then you can rest assured that "zfs mount -a" will occur after mounting stuff in /etc/fstab. If you need to have an exception then forcibly mount it early in /etc/fstab (I guess you should do that anyway for important mountpoints like /usr and /var). [...] > > 2. Dependencies of /etc/rc.d/zfs need rethinking Check proposed patch in above quoted PR. Let me know if you have comments on that. Thank you, Adrian Penisoara ROFUG / EnterpriseBSD From owner-freebsd-rc@FreeBSD.ORG Tue Mar 11 02:39: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 C134D106566C for ; Tue, 11 Mar 2008 02:39:00 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 7EB238FC31 for ; Tue, 11 Mar 2008 02:39:00 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7cf2.q.ppp-pool.de [89.53.124.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 50372128844 for ; Tue, 11 Mar 2008 03:18:25 +0100 (CET) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id D89303F439 for ; Tue, 11 Mar 2008 03:17:01 +0100 (CET) Message-ID: <47D5EBD3.3030309@vwsoft.com> Date: Tue, 11 Mar 2008 03:17:55 +0100 From: Volker User-Agent: Thunderbird 2.0.0.12 (X11/20080305) MIME-Version: 1.0 To: freebsd-rc@freebsd.org X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1205806632.29165@jTGAofrmxal6tuAXvmZEBA X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Subject: enable_quotas setting 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, 11 Mar 2008 02:39:00 -0000 Hi rc team! While looking at PR kern/114766 (now closed) I got the impression the entry of enable_quotas= is quite confusing users. Also the author of http://www.freebsddiary.org/quotas.php got that wrong. It's historically there since 1999 but it's the only ^enable_ entry and all other enable vars are ^.*_enable. I'm wondering if that should get corrected and support both forms can be made (at least for a transitioning time)? Thanks! Volker From owner-freebsd-rc@FreeBSD.ORG Tue Mar 11 08:11: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 9A6891065671; Tue, 11 Mar 2008 08:11:39 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3E1E08FC43; Tue, 11 Mar 2008 08:11:38 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 66E9E28457; Tue, 11 Mar 2008 16:11:37 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id DBCFFEC5641; Tue, 11 Mar 2008 16:11:36 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id RePe9YeGuUCx; Tue, 11 Mar 2008 16:11:30 +0800 (CST) Received: from charlie.delphij.net (c-67-161-39-180.hsd1.ca.comcast.net [67.161.39.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 5A4CBEC563E; Tue, 11 Mar 2008 16:11:28 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=PJHqc7WAa3aYvf1yqab7znzLYvcjSgF8BMB/8FuOM1ApTkpgGf0tIHpaVN+n22JJJ sfQBEyc42iKFZYNy5IFcQ== Message-ID: <47D63EAC.5020800@delphij.net> Date: Tue, 11 Mar 2008 01:11:24 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080309) MIME-Version: 1.0 To: Mike Telahun Makonnen References: <47D1DE64.20405@delphij.net> <584bfc3f0803110108o65a4d07ar9075dff7512002e5@mail.gmail.com> In-Reply-To: <584bfc3f0803110108o65a4d07ar9075dff7512002e5@mail.gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org, d@delphij.net Subject: Re: [RFC] Split nextboot deletion from /etc/rc.d/root X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net 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, 11 Mar 2008 08:11:39 -0000 Mike Telahun Makonnen wrote: > On Sat, Mar 8, 2008 at 3:31 AM, Xin LI wrote: >> Hi, >> >> Here is a patch that moves the nextboot deletion from /etc/rc.d/root to >> a new script which would be fired after mountlate. The reason behind >> this is that /boot is not necessarily part of the /, and doing nextboot >> -D would give an error if /boot is not mounted (i.e. in a typical setup >> of ZFS root). >> >> Objections? > > How about simply adding it to rc.d/mountlate as well as rc.d/root > instead of writing a separate script. Yes, I think this is reasonable, thanks for that. To all: I intend to change nextboot -D into nextboot -D > /dev/null 2>&1 in rc.d/root and add nextboot -D into mountlate. Any objections? Cheers, -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! From owner-freebsd-rc@FreeBSD.ORG Tue Mar 11 08:34:42 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 D91A91065671 for ; Tue, 11 Mar 2008 08:34:42 +0000 (UTC) (envelope-from mmakonnen@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.251]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6FA8FC16 for ; Tue, 11 Mar 2008 08:34:42 +0000 (UTC) (envelope-from mmakonnen@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so1983527hsc.11 for ; Tue, 11 Mar 2008 01:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=004Xime6oADDzVbTAV8HfL7pr3vhv1vyNoWzSd/PPgU=; b=hLq67lOB4H99BazGoxPbN7YNoAjGzZKBT41iLkx2sMHxM/jc6o4or8j29+EqjjFnlzK39KWhlazjT7NZVqvXsK6rHu8hTv04Tkt9j9oKknKP3vy/j3yljBw9UMcG0nq1FLbnmXtN3N1Fvp/VaFmjVxgyjucJ31Lj622QgMx+xtM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=SJisPw/GyCLU6Q9qCO+FXxs1Iqr92vzuLUO+m5fduhcYIprjiuPX3l+pgJp0xcLCeHHEK4M8sUvS9AfIvegi4q6jCKJ5Guqze/J1IC7rPhFSbK/pLu600T+q1UUKx1SlO2TUIeZC9S2Hu3VOID1Pl2WMdCjQT5PDAB9Gx1LPqpg= Received: by 10.114.53.1 with SMTP id b1mr4495261waa.86.1205222921028; Tue, 11 Mar 2008 01:08:41 -0700 (PDT) Received: by 10.114.88.13 with HTTP; Tue, 11 Mar 2008 01:08:40 -0700 (PDT) Message-ID: <584bfc3f0803110108o65a4d07ar9075dff7512002e5@mail.gmail.com> Date: Tue, 11 Mar 2008 11:08:40 +0300 From: "Mike Telahun Makonnen" Sender: mmakonnen@gmail.com To: d@delphij.net In-Reply-To: <47D1DE64.20405@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47D1DE64.20405@delphij.net> X-Google-Sender-Auth: 5a4f5b1332bfb610 Cc: freebsd-rc@freebsd.org Subject: Re: [RFC] Split nextboot deletion from /etc/rc.d/root 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, 11 Mar 2008 08:34:43 -0000 On Sat, Mar 8, 2008 at 3:31 AM, Xin LI wrote: > Hi, > > Here is a patch that moves the nextboot deletion from /etc/rc.d/root to > a new script which would be fired after mountlate. The reason behind > this is that /boot is not necessarily part of the /, and doing nextboot > -D would give an error if /boot is not mounted (i.e. in a typical setup > of ZFS root). > > Objections? How about simply adding it to rc.d/mountlate as well as rc.d/root instead of writing a separate script. Cheers.