From owner-freebsd-rc@FreeBSD.ORG Sun Dec 23 14:12:12 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88B77573; Sun, 23 Dec 2012 14:12:12 +0000 (UTC) (envelope-from buganini@gmail.com) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx1.freebsd.org (Postfix) with ESMTP id 12CFF8FC0C; Sun, 23 Dec 2012 14:12:11 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id fa15so6872449vbb.29 for ; Sun, 23 Dec 2012 06:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zoKQ70P/7OcttIeiZgRYytLiSLsWKnBKJ6/Jdx4O6+I=; b=lMa65S1xEdKzlUhn4Z0Vv717w9nzHFHQQ3+6VTpCpz2H8YrqsOdyRCTWZDlSocQeJI MButcwmw11Suoq3fodzS1mIC1vU3doMkgpdriKCra8rnM1SYO/rZKvW/7wuj0kvTfQfS SXidmId6KHSZ4pm+ZrrKuYSqH0Bcm1N3ULumkx5JZNnSAU5v2wPffTuWvZdNwh9Ei8h9 qf+CoCP7okleQ2z+8FXCPiXkY6iwfKoWPyX9YoPF9eSj2ByHNQAu+Sv42ptUUpp8lcOz /D0LS8kn+upxaPUKunpV4b6pfAqI5qT8Qt6OAYGYN1/fbwUEd59B7/GLln13wwZILalM 23LA== MIME-Version: 1.0 Received: by 10.52.92.131 with SMTP id cm3mr25065854vdb.110.1356271930930; Sun, 23 Dec 2012 06:12:10 -0800 (PST) Received: by 10.59.0.200 with HTTP; Sun, 23 Dec 2012 06:12:10 -0800 (PST) In-Reply-To: References: <20110821121509.GA27730@crane.none> <20110823201859.GA78110@crane.none> Date: Sun, 23 Dec 2012 22:12:10 +0800 Message-ID: Subject: Re: Concurrent execution of rc-scripts with rcorder(8) From: Buganini To: Chris Rees Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-rc@freebsd.org" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 23 Dec 2012 14:12:12 -0000 I've added an optional flag -q to switch of parallel execution, you will need to put rcexecr_parallel="YES" into /etc/rc.conf to enable parallel execution. Buganini 2012/12/23 Chris Rees > Reawakening ancient thread. > > On 23 August 2011 21:18, kilian wrote: > > On Sun, Aug 21, 2011 at 02:54:15PM +0100, Chris Rees wrote: > >> On 21 Aug 2011 13:39, "kilian" wrote: > >> > > >> > Hello, > >> > > >> > the idea to start services concurrently during boot isn't new and the > >> > question why FreeBSD doesn't do it has popped up on the forum and > >> > mailing list occasionally. So, why not give it a shot? > >> > > >> > rcorder(8) is normally used during boot to bring the rc-scripts into a > >> > particular order, so when they are executed linearly by /etc/rc, all > >> > constraints will be satisfied. I modified rcorder(8) to enable it to > >> > run rc-scripts concurrently, while keeping track of the constraints as > >> > rc-scripts start and finish. You can find the code at > >> > https://github.com/kil/rcorder. As it works now, it will fall back > to the > >> > current mode of execution if anything goes wrong. So, if worst comes > to > >> > worst, booting takes a bit longer. > >> > > >> > If you feel brave, give it a try (Actually, not too much bravery is > >> needed: > >> > on all boots of my machine it worked perfectly every time.) > >> > > >> > I haven't done any measurements yet on how large the speedup is, but > >> booting > >> > feels a bit faster with it. Also, there probably is room for > improvement. > >> > Any ideas and feedback are very welcome! > >> > > >> > -kilian > >> > > >> > >> I might suggest moving this to rc@. I'll try it later, looks > interesting. > >> > >> Chris > > > > For anyone who is interested, updated the README[1] with some numbers, > > detailing the influence on booting time. > > Hi Kilian, Buganini, > > I've been looking over both of your rc implementations, and they both > seem to do the job well. The main reservation I have for rcexecr [1] > is that it is not optional. Whether that is a problem is up for > debate, but I think that it is important at least for the mid term to > have a rc_parallel option; rc dependencies are funny things, and it > would be absolutely unacceptable to have strange failures on > production boxes. Every rc script would have to be reviewed in time > (including ports), to ensure that they fitted in properly. > > Chris > > [1] https://github.com/buganini/rcexecr/ > > [2] https://github.com/kil/rcorder > From owner-freebsd-rc@FreeBSD.ORG Mon Dec 24 08:58:37 2012 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89207CE9; Mon, 24 Dec 2012 08:58:37 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 567808FC12; Mon, 24 Dec 2012 08:58:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBO8wbqe059133; Mon, 24 Dec 2012 08:58:37 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBO8wbPh059129; Mon, 24 Dec 2012 08:58:37 GMT (envelope-from linimon) Date: Mon, 24 Dec 2012 08:58:37 GMT Message-Id: <201212240858.qBO8wbPh059129@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: conf/174595: /etc/rc.d/sysctl : unknown oid 'XXX' [regression] X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 08:58:37 -0000 Old Synopsis: /etc/rc.d/sysctl : unknown oid 'XXX' New Synopsis: /etc/rc.d/sysctl : unknown oid 'XXX' [regression] Responsible-Changed-From-To: freebsd-amd64->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 24 08:58:08 UTC 2012 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=174595 From owner-freebsd-rc@FreeBSD.ORG Mon Dec 24 11:06:49 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B91F67E for ; Mon, 24 Dec 2012 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5749C8FC16 for ; Mon, 24 Dec 2012 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBOB6nfF066163 for ; Mon, 24 Dec 2012 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBOB6mxY066161 for freebsd-rc@FreeBSD.org; Mon, 24 Dec 2012 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Dec 2012 11:06:48 GMT Message-Id: <201212241106.qBOB6mxY066161@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 11:06:49 -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/174595 rc /etc/rc.d/sysctl : unknown oid 'XXX' [regression] o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/163321 rc [rc.conf] [patch] allow _fib syntax in rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe o conf/153666 rc [rc.d][patch] mount filesystems from fstab over zfs da o conf/153200 rc post-boot /etc/rc.d/network_ipv6 start can miss neighb o conf/153123 rc [rc] [patch] add gsched rc file to automatically inser o conf/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [PATCH] rc.d script to manage multiple FIBS (kern opti o conf/149831 rc [PATCH] add support to /etc/rc.d/jail for delegating Z o conf/148656 rc rc.firewall(8): {oip} and {iip} variables in rc.firewa o conf/147685 rc [rc.d] [patch] new feature for /etc/rc.d/fsck o conf/147444 rc [rc.d] [patch] /etc/rc.d/zfs stop not called on reboot o conf/146053 rc [patch] [request] shutdown of jails breaks inter-jail o conf/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con o conf/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a conf/142973 rc [jail] [patch] Strange counter init value in jail rc o conf/142434 rc [patch] Add cpuset(1) support to rc.subr(8) o conf/142304 rc rc.conf(5): mdconfig and mdconfig2 rc.d scripts lack e o conf/141909 rc rc.subr(8): [patch] add rc.conf.d support to /usr/loca o conf/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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). p conf/123119 rc [patch] rc script for ipfw does not handle IPv6 o conf/122968 rc [rc.d] /etc/rc.d/addswap: md swapfile multiplication a 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [patch] ndis wireless driver fails to associate when i 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface 80 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Dec 24 22:20:01 2012 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BA78295 for ; Mon, 24 Dec 2012 22:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8138FC12 for ; Mon, 24 Dec 2012 22:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBOMK07k096596 for ; Mon, 24 Dec 2012 22:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBOMK0um096595; Mon, 24 Dec 2012 22:20:00 GMT (envelope-from gnats) Date: Mon, 24 Dec 2012 22:20:00 GMT Message-Id: <201212242220.qBOMK0um096595@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Xin Li Subject: Re: conf/174595: /etc/rc.d/sysctl : unknown oid ' XXX' [regression] X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Xin Li 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 Dec 2012 22:20:01 -0000 The following reply was made to PR conf/174595; it has been noted by GNATS. From: Xin Li To: bug-followup@FreeBSD.org, olivier@gid0.org Cc: Subject: Re: conf/174595: /etc/rc.d/sysctl : unknown oid 'XXX' [regression] Date: Mon, 24 Dec 2012 14:17:27 -0800 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 It seems that the old behavior is actually wrong... How are we benefited by not being told about fatal errors? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJQ2NR3AAoJEG80Jeu8UPuzniUH/0WqlPNwNRhyk1EosRKsVQyU 0x3O9AKRHh1k7qlvCkqSr3tFjMnJ+DVLKL9AfkgPweZj7mQ2q8G3BPZTzYlNWFts aqiZ0o+Ua5F6FVx992yaCPS8Lbwkfmab/ia2HlrowJJmiLdjwu6rOisTnCTPbbvw NbLKzja72nrYFQ5ibub5zFoCP0lwJwSV2m6mhOyG+G07LXY4OZTdPuaBrJ3zCqt2 Pd8AV9jmxsTn5e5jj1w3hJRhShQ1mgSeknYNBvbOFwQE2q4I+UVUr6ulmD624y57 9ID1RHXB8SBbGGyLwaTShSMsSOE1e1wSPNBO2pJzwHSeYw6rMNjo5izrL4GCDhM= =gVdi -----END PGP SIGNATURE----- From owner-freebsd-rc@FreeBSD.ORG Mon Dec 24 22:51:56 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 560A4E64 for ; Mon, 24 Dec 2012 22:51:56 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id E352D8FC0A for ; Mon, 24 Dec 2012 22:51:52 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id F03CE3592FD; Mon, 24 Dec 2012 23:51:50 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id CDD472848C; Mon, 24 Dec 2012 23:51:50 +0100 (CET) Date: Mon, 24 Dec 2012 23:51:50 +0100 From: Jilles Tjoelker To: Xin Li Subject: Re: conf/174595: /etc/rc.d/sysctl : unknown oid ' XXX' [regression] Message-ID: <20121224225150.GA81874@stack.nl> References: <201212242220.qBOMK0um096595@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201212242220.qBOMK0um096595@freefall.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 22:51:56 -0000 On Mon, Dec 24, 2012 at 10:20:00PM +0000, Xin Li wrote: > The following reply was made to PR conf/174595; it has been noted by GNATS. > From: Xin Li > To: bug-followup@FreeBSD.org, olivier@gid0.org > Cc: > Subject: Re: conf/174595: /etc/rc.d/sysctl : unknown oid 'XXX' [regression] > Date: Mon, 24 Dec 2012 14:17:27 -0800 > It seems that the old behavior is actually wrong... How are we > benefited by not being told about fatal errors? I think the old behaviour is correct. How it used to work was that the first attempt via /etc/rc.d/sysctl start would ignore nonexistent OIDs while the second attempt via /etc/rc.d/sysctl lastload (via /etc/rc.d/securelevel) would complain about them. This way, sysctls added by modules loaded via rc.d would be harmlessly ignored the first time. The new code attempts to do this via sysctl -i but appears to have switched things around. Unknown OIDs should be ignored the first time and should not be ignored the last time, which is the opposite the code does. -- Jilles Tjoelker From owner-freebsd-rc@FreeBSD.ORG Thu Dec 27 18:40:01 2012 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D501A69 for ; Thu, 27 Dec 2012 18:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2CB8FC0A for ; Thu, 27 Dec 2012 18:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBRIe1uv043524 for ; Thu, 27 Dec 2012 18:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBRIe1gM043523; Thu, 27 Dec 2012 18:40:01 GMT (envelope-from gnats) Date: Thu, 27 Dec 2012 18:40:01 GMT Message-Id: <201212271840.qBRIe1gM043523@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Devin Teske Subject: Re: conf/163508: [rc.subr] [patch] Add " enable" and " disable" commands to rc.subr X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske 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 Dec 2012 18:40:01 -0000 The following reply was made to PR conf/163508; it has been noted by GNATS. From: Devin Teske To: , Cc: Devin Teske Subject: Re: conf/163508: [rc.subr] [patch] Add "enable" and "disable" commands to rc.subr Date: Thu, 27 Dec 2012 10:32:10 -0800 In HEAD is usr.sbin/sysrc I'm not advocating the use of sysrc(8) to solve this problem, but instead, = that tool uses a common library of sh(1) routines that can be used to solve= this problem. Specifically,=85 /usr/share/bsdconfig/sysrc.subr Is the complete module allowing any shell script (or subroutine collection,= such as /etc/rc.subr) to manage the rc.conf(5) collection of system config= uration files. Currently, this include file (sysrc.subr) only exists in HEAD and is not di= stributed to RELEASE yet. To install this script, first download HEAD and t= hen: cd usr.sbin/bsdconfig make all install --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.