From owner-freebsd-rc@FreeBSD.ORG Mon Aug 31 11:07:15 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 0459C106568B for ; Mon, 31 Aug 2009 11:07:15 +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 E668F8FC1B for ; Mon, 31 Aug 2009 11:07:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VB7EO3070695 for ; Mon, 31 Aug 2009 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VB7Ej3070691 for freebsd-rc@FreeBSD.org; Mon, 31 Aug 2009 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Aug 2009 11:07:14 GMT Message-Id: <200908311107.n7VB7Ej3070691@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, 31 Aug 2009 11:07:15 -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/138208 rc [rc] [patch] Making rc.firewall (workstation) IPv6 awa o conf/137629 rc [rc] background_dhclient rc.conf option causing double o conf/137470 rc [PATCH] /etc/rc.d/mdconfig2 : prioritize cli parameter o conf/136875 rc [request] _flags appending o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc-script for initializing ng_netflow+ng_ipfw o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/134006 rc [patch] Unload console screensaver kernel modules if s o conf/133987 rc [rc.d] defaultroute broken with DHCP in some cases o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/132766 rc wait_for_pids() in /etc/rc.subr is dull. o conf/132483 rc rc.subr(8) [patch] setfib(1) support for rc.subr o conf/132476 rc [rc.d] [patch] add support setfib(1) in rc.d/routing 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 [jail] [patch] add support for nice value for rc.d/jai 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 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/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/108589 rc rtsol(8) fails due to default ipfw rules 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 61 problems total. From owner-freebsd-rc@FreeBSD.ORG Wed Sep 2 09:33:25 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 B36531065672; Wed, 2 Sep 2009 09:33:25 +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 8B6B78FC15; Wed, 2 Sep 2009 09:33:25 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n829XPOD057307; Wed, 2 Sep 2009 09:33:25 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n829XPkW057303; Wed, 2 Sep 2009 09:33:25 GMT (envelope-from linimon) Date: Wed, 2 Sep 2009 09:33:25 GMT Message-Id: <200909020933.n829XPkW057303@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background 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, 02 Sep 2009 09:33:25 -0000 Synopsis: [patch] start local rc scripts in background Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Wed Sep 2 09:32:51 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138460 From owner-freebsd-rc@FreeBSD.ORG Wed Sep 2 14:36:53 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 13A6E1065692 for ; Wed, 2 Sep 2009 14:36:53 +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 ESMTP id 9D7DF8FC20 for ; Wed, 2 Sep 2009 14:36:52 +0000 (UTC) Received: (qmail 16261 invoked by uid 399); 2 Sep 2009 14:36:48 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 2 Sep 2009 14:36:48 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A9E82FB.5030202@FreeBSD.org> Date: Wed, 02 Sep 2009 07:36:43 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: bug-followup@FreeBSD.org, villa.alberto@gmail.com, freebsd-rc@freebsd.org X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background 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, 02 Sep 2009 14:36:53 -0000 I object to this patch on at least 2 grounds. First the lack of BEFORE in a script does not mean that it is safe to background it. Some other script could easily depend on the service directly via REQUIRE, or (unfortunately) there could be indirect dependencies that are not properly labeled now because we've never needed to label them. Personally I actively discourage the use of BEFORE because I think it makes it harder to debug ordering problems although it is occasionally necessary. Second it is actually fairly common for locally installed scripts from the ports tree at least to depend on each other, and this is not a bug. The way to approach this would be to add a flag, probably in rc.conf, to indicate that it is safe to background a given service. Then rc.subr would have to grow support for this but that shouldn't be too hard. If you'd like to follow up in that regard you should send a message to freebsd-rc@freebsd.org. Unless someone else really thinks this is a good idea I plan to close this PR. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Wed Sep 2 15:10:05 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 4FAB01065679 for ; Wed, 2 Sep 2009 15:10:05 +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 3F05C8FC15 for ; Wed, 2 Sep 2009 15:10:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82FA5uS094913 for ; Wed, 2 Sep 2009 15:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82FA5iP094906; Wed, 2 Sep 2009 15:10:05 GMT (envelope-from gnats) Date: Wed, 2 Sep 2009 15:10:05 GMT Message-Id: <200909021510.n82FA5iP094906@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Doug Barton Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Doug Barton 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, 02 Sep 2009 15:10:05 -0000 The following reply was made to PR conf/138460; it has been noted by GNATS. From: Doug Barton To: bug-followup@FreeBSD.org, villa.alberto@gmail.com, freebsd-rc@freebsd.org Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background Date: Wed, 02 Sep 2009 07:36:43 -0700 I object to this patch on at least 2 grounds. First the lack of BEFORE in a script does not mean that it is safe to background it. Some other script could easily depend on the service directly via REQUIRE, or (unfortunately) there could be indirect dependencies that are not properly labeled now because we've never needed to label them. Personally I actively discourage the use of BEFORE because I think it makes it harder to debug ordering problems although it is occasionally necessary. Second it is actually fairly common for locally installed scripts from the ports tree at least to depend on each other, and this is not a bug. The way to approach this would be to add a flag, probably in rc.conf, to indicate that it is safe to background a given service. Then rc.subr would have to grow support for this but that shouldn't be too hard. If you'd like to follow up in that regard you should send a message to freebsd-rc@freebsd.org. Unless someone else really thinks this is a good idea I plan to close this PR. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Wed Sep 2 15:19:54 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 44D681065676; Wed, 2 Sep 2009 15:19:54 +0000 (UTC) (envelope-from ady@ady.ro) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 7367C8FC19; Wed, 2 Sep 2009 15:19:52 +0000 (UTC) Received: by ewy4 with SMTP id 4so915519ewy.36 for ; Wed, 02 Sep 2009 08:19:52 -0700 (PDT) MIME-Version: 1.0 Sender: ady@ady.ro Received: by 10.210.68.8 with SMTP id q8mr8002650eba.39.1251904791048; Wed, 02 Sep 2009 08:19:51 -0700 (PDT) In-Reply-To: <4A9E82FB.5030202@FreeBSD.org> References: <4A9E82FB.5030202@FreeBSD.org> Date: Wed, 2 Sep 2009 17:19:50 +0200 X-Google-Sender-Auth: 101db770b3672966 Message-ID: <78cb3d3f0909020819g7fcbc712j1f9f198936708640@mail.gmail.com> From: Adrian Penisoara To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-rc@freebsd.org, bug-followup@freebsd.org, villa.alberto@gmail.com Subject: Re: conf/138460: [patch] start local rc scripts in background 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, 02 Sep 2009 15:19:54 -0000 Hi, On Wed, Sep 2, 2009 at 4:36 PM, Doug Barton wrote: > I object to this patch on at least 2 grounds. First the lack of BEFORE > in a script does not mean that it is safe to background it. Some other > script could easily depend on the service directly via REQUIRE, or > (unfortunately) there could be indirect dependencies that are not > properly labeled now because we've never needed to label them. > Personally I actively discourage the use of BEFORE because I think it > makes it harder to debug ordering problems although it is occasionally > necessary. > > Second it is actually fairly common for locally installed scripts from > the ports tree at least to depend on each other, and this is not a bug. > > The way to approach this would be to add a flag, probably in rc.conf, > to indicate that it is safe to background a given service. Then > rc.subr would have to grow support for this but that shouldn't be too > hard. If you'd like to follow up in that regard you should send a > message to freebsd-rc@freebsd.org. > > Unless someone else really thinks this is a good idea I plan to close > this PR. > > I think this idea has some (great ?) merit -- almost all modern OS'es are cutting down on boot times and we should be working on this too. It's true that it would take a lot more work than a simple few-lines patch to do it right, but it's worth working on it, at least personally I intend to work on this at one point [1]. [1] https://blueprints.launchpad.net/enterprisebsd/+spec/ebsd-rc.d-startup-fix Regards, Adrian Penisoara EnterpriseBSD From owner-freebsd-rc@FreeBSD.ORG Wed Sep 2 15:36:50 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 738CA106566B; Wed, 2 Sep 2009 15:36:50 +0000 (UTC) (envelope-from ady@ady.ro) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id CE93C8FC13; Wed, 2 Sep 2009 15:36:49 +0000 (UTC) Received: by ewy4 with SMTP id 4so932618ewy.36 for ; Wed, 02 Sep 2009 08:36:49 -0700 (PDT) MIME-Version: 1.0 Sender: ady@ady.ro Received: by 10.211.154.7 with SMTP id g7mr9051624ebo.10.1251905808533; Wed, 02 Sep 2009 08:36:48 -0700 (PDT) In-Reply-To: <4A9E82FB.5030202@FreeBSD.org> References: <4A9E82FB.5030202@FreeBSD.org> Date: Wed, 2 Sep 2009 17:36:48 +0200 X-Google-Sender-Auth: 5c33645bcdf27d9d Message-ID: <78cb3d3f0909020836u4ebabe67k67632b4e423ff44e@mail.gmail.com> From: Adrian Penisoara To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-rc@freebsd.org, villa.alberto@gmail.com Subject: Re: conf/138460: [patch] start local rc scripts in background 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, 02 Sep 2009 15:36:50 -0000 Hi, Coming back to this... On Wed, Sep 2, 2009 at 4:36 PM, Doug Barton wrote: > I object to this patch on at least 2 grounds. First the lack of BEFORE > in a script does not mean that it is safe to background it. Some other > script could easily depend on the service directly via REQUIRE, or > (unfortunately) there could be indirect dependencies that are not > properly labeled now because we've never needed to label them. > Personally I actively discourage the use of BEFORE because I think it > makes it harder to debug ordering problems although it is occasionally > necessary. > I agree REQUIRE should be used instead of BEFORE. But this still leaves the tricky lexicographical file name ordering in place... > > Second it is actually fairly common for locally installed scripts from > the ports tree at least to depend on each other, and this is not a bug. > > The way to approach this would be to add a flag, probably in rc.conf, > to indicate that it is safe to background a given service. Then > rc.subr would have to grow support for this but that shouldn't be too > hard. If you'd like to follow up in that regard you should send a > message to freebsd-rc@freebsd.org. > How about ditching that flag and just determine from the (keyword) dependency ordering which services may be ran in parallel. Again, the presumption of lexicographical file name ordering may hinder this algorithm -- perhaps enforcing rc.subr keywords instead would solve this. Regards, Adrian Penisoara EnterpriseBSD From owner-freebsd-rc@FreeBSD.ORG Wed Sep 2 15:50:07 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 D43661065696 for ; Wed, 2 Sep 2009 15:50: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 8BB1B8FC08 for ; Wed, 2 Sep 2009 15:50:07 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82Fo4SW035678 for ; Wed, 2 Sep 2009 15:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82Fo4eU035677; Wed, 2 Sep 2009 15:50:04 GMT (envelope-from gnats) Date: Wed, 2 Sep 2009 15:50:04 GMT Message-Id: <200909021550.n82Fo4eU035677@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Adrian Penisoara Cc: Subject: Re: conf/138460: [patch] start local rc scripts in background X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adrian Penisoara 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, 02 Sep 2009 15:50:08 -0000 The following reply was made to PR conf/138460; it has been noted by GNATS. From: Adrian Penisoara To: Doug Barton Cc: bug-followup@freebsd.org, villa.alberto@gmail.com, freebsd-rc@freebsd.org Subject: Re: conf/138460: [patch] start local rc scripts in background Date: Wed, 2 Sep 2009 17:19:50 +0200 --0015174c35045cf71b047299cca0 Content-Type: text/plain; charset=ISO-8859-1 Hi, On Wed, Sep 2, 2009 at 4:36 PM, Doug Barton wrote: > I object to this patch on at least 2 grounds. First the lack of BEFORE > in a script does not mean that it is safe to background it. Some other > script could easily depend on the service directly via REQUIRE, or > (unfortunately) there could be indirect dependencies that are not > properly labeled now because we've never needed to label them. > Personally I actively discourage the use of BEFORE because I think it > makes it harder to debug ordering problems although it is occasionally > necessary. > > Second it is actually fairly common for locally installed scripts from > the ports tree at least to depend on each other, and this is not a bug. > > The way to approach this would be to add a flag, probably in rc.conf, > to indicate that it is safe to background a given service. Then > rc.subr would have to grow support for this but that shouldn't be too > hard. If you'd like to follow up in that regard you should send a > message to freebsd-rc@freebsd.org. > > Unless someone else really thinks this is a good idea I plan to close > this PR. > > I think this idea has some (great ?) merit -- almost all modern OS'es are cutting down on boot times and we should be working on this too. It's true that it would take a lot more work than a simple few-lines patch to do it right, but it's worth working on it, at least personally I intend to work on this at one point [1]. [1] https://blueprints.launchpad.net/enterprisebsd/+spec/ebsd-rc.d-startup-fix Regards, Adrian Penisoara EnterpriseBSD --0015174c35045cf71b047299cca0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

On Wed, Sep 2, 2009 at 4:= 36 PM, Doug Barton <dougb@freebsd.org> wrote:
I object to this patch on at least 2 grounds. First the lack of BEFORE
in a script does not mean that it is safe to background it. Some other
script could easily depend on the service directly via REQUIRE, or
(unfortunately) there could be indirect dependencies that are not
properly labeled now because we've never needed to label them.
Personally I actively discourage the use of BEFORE because I think it
makes it harder to debug ordering problems although it is occasionally
necessary.

Second it is actually fairly common for locally installed scripts from
the ports tree at least to depend on each other, and this is not a bug.

The way to approach this would be to add a flag, probably in rc.conf,
to indicate that it is safe to background a given service. Then
rc.subr would have to grow support for this but that shouldn't be too hard. If you'd like to follow up in that regard you should send a
message to freebsd-rc@freebsd.org= .

Unless someone else really thinks this is a good idea I plan to close
this PR.


=A0=A0I think this idea has some (grea= t ?) merit -- almost all modern OS'es are cutting down on boot times an= d we should be working on this too.
=A0=A0It's true that it w= ould take a lot more work than a simple few-lines patch to do it right, but= it's worth working on it, at least personally I intend to work on this= at one point [1].


Regards,=
Adrian Penisoara
EnterpriseBSD
--0015174c35045cf71b047299cca0--