From owner-freebsd-rc@FreeBSD.ORG Mon Jan 19 11:07:04 2009 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 C2D7F1065675 for ; Mon, 19 Jan 2009 11:07:04 +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 AF61F8FC23 for ; Mon, 19 Jan 2009 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0JB74Qk063086 for ; Mon, 19 Jan 2009 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0JB74vD063082 for freebsd-rc@FreeBSD.org; Mon, 19 Jan 2009 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Jan 2009 11:07:04 GMT Message-Id: <200901191107.n0JB74vD063082@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, 19 Jan 2009 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/130414 rc [patch] rc services started with onestart are not stop o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/127917 rc [patch] dumpon rejects on start with physmem>swap even o bin/126562 rc rcorder(8) fails to run unrelated startup scripts when o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped o bin/126324 rc [patch] rc.d/tmp: Prevent mounting /tmp in second tim o conf/124747 rc [patch] savecore can't create dump from encrypted swap o conf/124248 rc [patch] add support for nice value for rc.d/jail + rc. o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring o conf/122170 rc [patch] [request] New feature: notify admin via page o o conf/122036 rc [rc.d]: Mounting at boot with ZFS causes a halt in boo o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug o conf/120431 rc [patch] devfs.rules are not initialized under certain o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. o conf/120228 rc [zfs] [patch] Split ZFS volume startup / ease ZFS swap o conf/120194 rc [patch] UFS volumes on ZVOLs cannot be fsck'd at boot o conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o bin/118325 rc [patch] [request] new periodic script to test statuses o conf/118255 rc savecore never finding kernel core dumps (rcorder prob o conf/117935 rc [patch] ppp fails to start at boot because of missing o conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p o conf/105689 rc [ppp] [request] syslogd starts too late at boot o conf/105568 rc [patch] [request] Add more flexibility to rc.conf, to o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/88913 rc [patch] wrapper support for rc.subr o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/73677 rc [patch] add support for powernow states to power_profi o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o conf/56934 rc [patch] rc.firewall rules for natd expect an interface o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/44170 rc [patch] Add ability to run multiple pppoed(8) on start 48 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Jan 20 21:14:42 2009 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 4A107106564A; Tue, 20 Jan 2009 21:14:42 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 20D478FC16; Tue, 20 Jan 2009 21:14:42 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0KLEgGM088806; Tue, 20 Jan 2009 21:14:42 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0KLEfho088802; Tue, 20 Jan 2009 21:14:41 GMT (envelope-from gavin) Date: Tue, 20 Jan 2009 21:14:41 GMT Message-Id: <200901202114.n0KLEfho088802@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: conf/130782: rc(8) makes undesirable assumptions on local 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: Tue, 20 Jan 2009 21:14:43 -0000 Synopsis: rc(8) makes undesirable assumptions on local startup scripts Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: gavin Responsible-Changed-When: Tue Jan 20 21:13:50 UTC 2009 Responsible-Changed-Why: Over to maintainers http://www.freebsd.org/cgi/query-pr.cgi?pr=130782 From owner-freebsd-rc@FreeBSD.ORG Wed Jan 21 23:15:26 2009 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 473ED1065692; Wed, 21 Jan 2009 23:15:26 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8968FC1A; Wed, 21 Jan 2009 23:15:26 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (dougb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0LNFPdA099156; Wed, 21 Jan 2009 23:15:26 GMT (envelope-from dougb@freefall.freebsd.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0LNFPOZ099152; Wed, 21 Jan 2009 23:15:25 GMT (envelope-from dougb) Date: Wed, 21 Jan 2009 23:15:25 GMT Message-Id: <200901212315.n0LNFPOZ099152@freefall.freebsd.org> To: thomas@cuivre.fr.eu.org, dougb@FreeBSD.org, freebsd-rc@FreeBSD.org, dougb@FreeBSD.org From: dougb@FreeBSD.org Cc: Subject: Re: conf/130782: rc(8) makes undesirable assumptions on local 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: Wed, 21 Jan 2009 23:15:26 -0000 Synopsis: rc(8) makes undesirable assumptions on local startup scripts State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Wed Jan 21 23:13:37 UTC 2009 State-Changed-Why: I think that you misunderstand what fast* and quiet* do. Short version is that they are handled internally by rc.d so that the script itself needs no knowledge of them. If you have other questions please try the -questions list. hope this helps, Doug Responsible-Changed-From-To: freebsd-rc->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Wed Jan 21 23:13:37 UTC 2009 Responsible-Changed-Why: I closed this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=130782 From owner-freebsd-rc@FreeBSD.ORG Thu Jan 22 13:22:28 2009 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 8CD96106567F; Thu, 22 Jan 2009 13:22:28 +0000 (UTC) (envelope-from thomas@FreeBSD.ORG) Received: from melamine.cuivre.fr.eu.org (melusine.cuivre.fr.eu.org [82.225.155.84]) by mx1.freebsd.org (Postfix) with ESMTP id 466B58FC25; Thu, 22 Jan 2009 13:22:28 +0000 (UTC) (envelope-from thomas@FreeBSD.ORG) Received: by melamine.cuivre.fr.eu.org (Postfix, from userid 1000) id 63A275CBEF; Thu, 22 Jan 2009 14:05:13 +0100 (CET) Date: Thu, 22 Jan 2009 14:05:13 +0100 From: Thomas Quinot To: dougb@FreeBSD.org Message-ID: <20090122130513.GA70426@melamine.cuivre.fr.eu.org> References: <200901212315.n0LNFPOZ099152@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901212315.n0LNFPOZ099152@freefall.freebsd.org> X-message-flag: WARNING! Using Outlook can damage your computer. User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-rc@FreeBSD.org, bug-followup@freebsd.org Subject: Re: conf/130782: rc(8) makes undesirable assumptions on local 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, 22 Jan 2009 13:22:29 -0000 * dougb@FreeBSD.org, 2009-01-22 : > State-Changed-From-To: open->closed > State-Changed-By: dougb > State-Changed-When: Wed Jan 21 23:13:37 UTC 2009 > State-Changed-Why: > > I think that you misunderstand what fast* and quiet* do. > Short version is that they are handled internally by rc.d > so that the script itself needs no knowledge of them. Doug, At first I was a bit surprised by your response, since the behaviour we had observed here clearly isn't consistent with your description, so I investigated a bit further, and I think I now understand what is going on. Startup scripts actually *do* need to handle fast* and quiet* themselves *if* they are recognized by /etc/rc as "new style" scripts; everything is indeed handled transparently by /etc/rc.d/local for local scripts that are *not* "new style" scripts. The problem we had was an inconsistent script that *had* a "# PROVIDES:" comment (and so was deemed "new style" by /etc/rc), BUT failed to handle faststart & co (or use run_rc_command to handle them automatically). So, in the end I agree that the system scripts' behaviour is just fine (contrary to what I initially reported), but I still think we should clarify our documentation regarding the distinction between "new" and "old" startup scripts. Thomas. From owner-freebsd-rc@FreeBSD.ORG Fri Jan 23 08:15:52 2009 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 D9BD1106573C for ; Fri, 23 Jan 2009 08:15:52 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 82C8F8FC19 for ; Fri, 23 Jan 2009 08:15:52 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 26232 invoked by uid 399); 23 Jan 2009 07:49:11 -0000 Received: from localhost (HELO ?192.168.0.19?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 23 Jan 2009 07:49:11 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49797693.70102@FreeBSD.org> Date: Thu, 22 Jan 2009 23:49:39 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Thomas Quinot References: <200901212315.n0LNFPOZ099152@freefall.freebsd.org> <20090122130513.GA70426@melamine.cuivre.fr.eu.org> In-Reply-To: <20090122130513.GA70426@melamine.cuivre.fr.eu.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: conf/130782: rc(8) makes undesirable assumptions on local 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: Fri, 23 Jan 2009 08:15:54 -0000 Thomas Quinot wrote: > * dougb@FreeBSD.org, 2009-01-22 : > >> State-Changed-From-To: open->closed >> State-Changed-By: dougb >> State-Changed-When: Wed Jan 21 23:13:37 UTC 2009 >> State-Changed-Why: >> >> I think that you misunderstand what fast* and quiet* do. >> Short version is that they are handled internally by rc.d >> so that the script itself needs no knowledge of them. > > Doug, > > At first I was a bit surprised by your response, since the behaviour we > had observed here clearly isn't consistent with your description, so I > investigated a bit further, and I think I now understand what is going > on. > > Startup scripts actually *do* need to handle fast* and quiet* themselves > *if* they are recognized by /etc/rc as "new style" scripts; everything > is indeed handled transparently by /etc/rc.d/local for local scripts > that are *not* "new style" scripts. I've read that sentence several times now, and I'm pretty sure at least one of us is confused. :) > The problem we had was an inconsistent script that *had* a "# PROVIDES:" > comment (and so was deemed "new style" by /etc/rc), Actually it's a routine in rc.subr that handles this, but basically, yes. > BUT failed to > handle faststart & co (or use run_rc_command to handle them > automatically). Well that just doesn't make sense. :) When I chose what to look for in a script to determine "new" vs. "old" I thought PROVIDE was a logical choice since it will be close to the top (and this is the key bit), and I couldn't see any reason why an old style script would include that line. > So, in the end I agree that the system scripts' behaviour is just fine > (contrary to what I initially reported), but I still think we should > clarify our documentation regarding the distinction between "new" and > "old" startup scripts. If you have suggestions on where and how to do that I'll be glad to take a look. Doug -- This .signature sanitized for your protection