From owner-freebsd-rc@FreeBSD.ORG Sun Oct 7 11:03:57 2007 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 4DF3516A468 for ; Sun, 7 Oct 2007 11:03:57 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: from terra.mike.lan (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A264B13C465; Sun, 7 Oct 2007 11:03:55 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: by terra.mike.lan (Postfix, from userid 1000) id AD4BD6954B; Sun, 7 Oct 2007 14:08:16 +0300 (EAT) Date: Sun, 7 Oct 2007 14:08:16 +0300 From: Mike Makonnen To: Maksim Yevmenkin Message-ID: <20071007110815.GA16458@terra.mike.lan> References: <20071006215757.GA10458@terra.mike.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD/7.0-CURRENT (i386) Cc: freebsd-rc@freebsd.org Subject: Re: multiple instances of ppp 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: Sun, 07 Oct 2007 11:03:57 -0000 On Sat, Oct 06, 2007 at 03:49:57PM -0700, Maksim Yevmenkin wrote: > > thanks for your comments. what do you think about something like > > # PROVIDE: ppp > # REQUIRE: netif isdnd > # KEYWORD: nojail > > . /etc/rc.subr > > name="ppp" > rcvar=`set_rcvar` > command="/usr/sbin/${name}" > start_cmd="ppp_start" > start_postcmd="ppp_poststart" > > ppp_start_profile() > { > local _ppp_profile, _ppp_mode, _ppp_nat You should lose the commas. Local variable declarations are space-separated. Other than that, looks good. cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org From owner-freebsd-rc@FreeBSD.ORG Sun Oct 7 15:44:01 2007 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 A5A8716A418 for ; Sun, 7 Oct 2007 15:44:01 +0000 (UTC) (envelope-from jay.quest4@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3164813C468 for ; Sun, 7 Oct 2007 15:44:00 +0000 (UTC) (envelope-from jay.quest4@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so797046ugf for ; Sun, 07 Oct 2007 08:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:cc:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=elZ5gvGo+BchZkPMiQZwjhJY969fIVxDhrzaL+F6zug=; b=jy0QHNevJyTjBmx28s1w16srCkimyswTPG4lZy1s3HofBIPOfOBWn3ocovIl7b6jMWqWcvr0E+Sgawte6C6ARP2rgUL3z4OIlR5P9jBgGENz7M825oEq+WBZMJWKr59bBrA3YLOTtCEKoWsi8pNFp+h4Jup9F9jkVby9oiMnscg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:from:to:cc:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=Z6HgJh6tmtcJuzXMIQvDPLKgCSHAWToMFDJVxIizqJIMSRrvHSZvjQ18YeojvDUfVZLK3oy1oY/Vams9SbdHX5BaGuayiDulghri0Bd7Pi03ARw88PUVNkyDS9TDhhw4A5MaYKIpvZaCyl3EP11+E/1tU4wmwhFdQ4ZVqNfCwTk= Received: by 10.66.218.15 with SMTP id q15mr5776341ugg.1191771839563; Sun, 07 Oct 2007 08:43:59 -0700 (PDT) Received: from 4BANKS ( [12.5.189.24]) by mx.google.com with ESMTPS id k5sm12498777nfh.2007.10.07.08.43.56 (version=SSLv3 cipher=RC4-MD5); Sun, 07 Oct 2007 08:43:58 -0700 (PDT) Message-ID: <000e01c808f8$df131320$18bd050c@4BANKS> From: "Jay Banks" To: "Mike Makonnen" References: <004d01c80830$5447e770$90bd050c@4BANKS> <20071006171455.GA71986@terra.mike.lan> <005601c8084f$526c3180$90bd050c@4BANKS> <20071006211506.GA7075@terra.mike.lan> Date: Sun, 7 Oct 2007 10:43:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: freebsd-rc@freebsd.org Subject: Re: Getting a script to run at boot 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: Sun, 07 Oct 2007 15:44:01 -0000 > Well, that's the problem then. The '--daemon' switch is misleading. You > should get it to work as expected by adding a '&' at the end of the Took me a little while to get that to work, but I finally got it. > command-line. Just for kicks I installed it on my system and with > the attached script and the following in my /etc/rc.conf it seems to > work as expected (though I haven't tried running it on startup): It did seem to work. I would be interested to know if yours ran on a reboot, because mine didn't. Since it did seem to work like a daemon, though, and worked from my terminal session (but still not on reboot), I got the bright idea of running it from a cron job again, where I once again got the error that fping wasn't found. So I copied fping to /sbin (cp /usr/local/sbin/fping /sbin) and sntop just started to work. So I tried it on reboot again, and it is actually running after a reboot. Hallelujah. A whole weekend taken up just to get a script to run on a reboot. Good thing I don't have a life! I really appreciate the help. I couldn't have done it without you. I'm the kind of guy that really does try to figure it out on my own before asking for help, but I wouldn't have figured out that "&" thing at all. Jay Banks From owner-freebsd-rc@FreeBSD.ORG Sun Oct 7 16:13:33 2007 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 144FE16A41B for ; Sun, 7 Oct 2007 16:13:33 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9981113C467 for ; Sun, 7 Oct 2007 16:13:32 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so771297nfb for ; Sun, 07 Oct 2007 09:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hEXdAydYPpB6Kq0+9hF9EIIOqWYaW+5FIgPoQsy6MDI=; b=JfZeL6J3JL5l8ZWdfpBhj9qickbKpOyTQcHiwxolJvKyi1WNEbECEijrnu49WeK57BaYMRMftmIZaw0FwKs+c5EmF6Mz+tyL2qEf8FYHr8KUag9Vfk9ZX++LKXqTqdzCzl5zJNXsvvH4Dt0NfeCZJdnj3DNhDwNpLgvrMCcOS2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=slLTnTQHqWiihpNrh2zLRMTc7IIhqSAsfHvJYnJCSO/1XaKg+NA7PidE7x3wcBFRd+bRQOz43ahImx8ilMmFGfmKM8m1AUtaVnh0fiOU6ZTuOuVKW/oObE2+GTKeiwVP1xZCyYAI7u+R+QOos2geGOQAbQa207sEqavO8Dx6Wkk= Received: by 10.86.90.2 with SMTP id n2mr4327071fgb.1191773610817; Sun, 07 Oct 2007 09:13:30 -0700 (PDT) Received: by 10.86.25.9 with HTTP; Sun, 7 Oct 2007 09:13:03 -0700 (PDT) Message-ID: Date: Sun, 7 Oct 2007 09:13:03 -0700 From: "Maksim Yevmenkin" To: "Mike Makonnen" In-Reply-To: <20071007110815.GA16458@terra.mike.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071006215757.GA10458@terra.mike.lan> <20071007110815.GA16458@terra.mike.lan> Cc: freebsd-rc@freebsd.org Subject: Re: multiple instances of ppp 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: Sun, 07 Oct 2007 16:13:33 -0000 Mike, On 10/7/07, Mike Makonnen wrote: > On Sat, Oct 06, 2007 at 03:49:57PM -0700, Maksim Yevmenkin wrote: > > > > thanks for your comments. what do you think about something like > > > > # PROVIDE: ppp > > # REQUIRE: netif isdnd > > # KEYWORD: nojail > > > > . /etc/rc.subr > > > > name="ppp" > > rcvar=`set_rcvar` > > command="/usr/sbin/${name}" > > start_cmd="ppp_start" > > start_postcmd="ppp_poststart" > > > > ppp_start_profile() > > { > > local _ppp_profile, _ppp_mode, _ppp_nat > > You should lose the commas. Local variable declarations are space-separated. > > Other than that, looks good. thanks! i have made a patch and submitted it to re@ for approval. thanks, max From owner-freebsd-rc@FreeBSD.ORG Sun Oct 7 16:13:36 2007 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 1855D16A41A for ; Sun, 7 Oct 2007 16:13:36 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC1413C469 for ; Sun, 7 Oct 2007 16:13:34 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so771298nfb for ; Sun, 07 Oct 2007 09:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hEXdAydYPpB6Kq0+9hF9EIIOqWYaW+5FIgPoQsy6MDI=; b=ZjGaIFs9X9I1hDIM/iUP3E3aLm5TlABb/VCVyQdW0DMbwyTRXXeI4Evrwcr9WNonNz05L3w5QzAwPMivz9gyM5hae2qsO4I0dCcEwRvtBrghN8B/eW+WqqA1dbPr1+Gsa3oGepXhYJ2SxGVpdUCxzlUASKDGXQnA+m5wHOE5t2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k/F6+gDMtBgtvXnUagdPsE3PtEvV+4fT6kiMNHZis/Bz8KB9tqdoIEfsbhsSKWRBsJ6MI6+avc6hRQDO5aLjBZPYhkC+RE9UEM/BppaaZtuSiuEJOmAivzc2BoIumsOJEFRCbIGhb0yToKhlIFQ4yKJlfST80n2AWMNJ4glP5mA= Received: by 10.86.49.13 with SMTP id w13mr4338902fgw.1191773583832; Sun, 07 Oct 2007 09:13:03 -0700 (PDT) Received: by 10.86.25.9 with HTTP; Sun, 7 Oct 2007 09:13:03 -0700 (PDT) Message-ID: Date: Sun, 7 Oct 2007 09:13:03 -0700 From: "Maksim Yevmenkin" To: "Mike Makonnen" In-Reply-To: <20071007110815.GA16458@terra.mike.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071006215757.GA10458@terra.mike.lan> <20071007110815.GA16458@terra.mike.lan> Cc: freebsd-rc@freebsd.org Subject: Re: multiple instances of ppp 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: Sun, 07 Oct 2007 16:13:36 -0000 Mike, On 10/7/07, Mike Makonnen wrote: > On Sat, Oct 06, 2007 at 03:49:57PM -0700, Maksim Yevmenkin wrote: > > > > thanks for your comments. what do you think about something like > > > > # PROVIDE: ppp > > # REQUIRE: netif isdnd > > # KEYWORD: nojail > > > > . /etc/rc.subr > > > > name="ppp" > > rcvar=`set_rcvar` > > command="/usr/sbin/${name}" > > start_cmd="ppp_start" > > start_postcmd="ppp_poststart" > > > > ppp_start_profile() > > { > > local _ppp_profile, _ppp_mode, _ppp_nat > > You should lose the commas. Local variable declarations are space-separated. > > Other than that, looks good. thanks! i have made a patch and submitted it to re@ for approval. thanks, max From owner-freebsd-rc@FreeBSD.ORG Sun Oct 7 21:51:13 2007 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 33E4916A41B; Sun, 7 Oct 2007 21:51:13 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id B07B713C458; Sun, 7 Oct 2007 21:51:12 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-180-150.dclient.hispeed.ch ([80.218.180.150] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Iee1n-00063F-6t; Sun, 07 Oct 2007 23:51:11 +0200 Message-ID: <470954C7.4060904@gahr.ch> Date: Sun, 07 Oct 2007 23:51:03 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.6 (X11/20070808) MIME-Version: 1.0 To: Doug Barton , freebsd-rc@freebsd.org References: <200710012040.l91KeC2t097859@freefall.freebsd.org> <47022870.7030607@gahr.ch> <4703A8B6.80803@gahr.ch> <4706B42B.20207@FreeBSD.org> In-Reply-To: <4706B42B.20207@FreeBSD.org> X-Enigmail-Version: 0.95.2 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig26500EF22A39AEE23E626D00" X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: conf/105568: [patch] Add more flexibility to rc.conf, to choose "_enable" values at startup 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: Sun, 07 Oct 2007 21:51:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig26500EF22A39AEE23E626D00 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Doug Barton wrote: > Pietro Cerutti wrote: >=20 >> I have no problem accepting the fact that you don't need this feature,= >> but, on the contrary, it seems that you have a problem accepting the >> fact that someone could find it useful. >=20 > That is certainly not true for me, and I don't think it's true for Kian= > either. I can see how _someone_ could find it useful, I just don't thin= k > that a majority of our users would benefit from this. >=20 >> The feature doesn't change any defaults, don't have any side effects a= nd >> can merely be ignored if you don't want to use it. >> >> Why are you so reluctant in accepting it? >=20 > The rc.d system is critical to FreeBSD, and making boot time faster is = a > goal that always have in front of us. We have to critically examine > every single suggestion for modifications to it, and the bias is > strongly in the direction of not adding something that won't be > beneficial to the majority of our users. Ok I understand the politics and you point. Thanks! >=20 > Every extra line of code adds complexity and some amount of processing > time, no matter how small. It's very easy to go from a streamlined > system (which IMO rc.d is not yet) to a bloated pig one centimeter at a= > time. >=20 > I don't expect you to necessarily agree with my analysis, but I wanted > to explain more of the reasoning behind it, which hopefully will help > you understand that we're not just rejecting your proposal out of hand.= >=20 > Doug >=20 --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig26500EF22A39AEE23E626D00 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHCVTMwMJqmJVx944RCmZtAKCc5KKiWJxiS1eTc+VFZ+AEZm0d3gCeKRzK FD4qRR63jaL+lGvZeMHPNqQ= =T7b3 -----END PGP SIGNATURE----- --------------enig26500EF22A39AEE23E626D00-- From owner-freebsd-rc@FreeBSD.ORG Mon Oct 8 11:08:38 2007 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 1968D16A417 for ; Mon, 8 Oct 2007 11:08:38 +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 E9B7513C458 for ; Mon, 8 Oct 2007 11:08:37 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l98B8biS083430 for ; Mon, 8 Oct 2007 11:08:37 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l98B8a3G083426 for freebsd-rc@FreeBSD.org; Mon, 8 Oct 2007 11:08:36 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Oct 2007 11:08:36 GMT Message-Id: <200710081108.l98B8a3G083426@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 you 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, 08 Oct 2007 11:08:38 -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 syslogd starts too late at boot o conf/107155 rc [ppp] /etc/rc.d/ppp-user does not bring up pppoe at bo o conf/107364 rc pf fails to start on bootup after system update from F 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/48870 rc [PATCH] rc.network: allow to cancel interface status d o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o conf/73677 rc [patch] add support for powernow states to power_profi o conf/74817 rc [patch] network.subr: fixed automatic configuration of o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/79196 rc [PATCH] configurable dummynet loading from /etc/rc.co o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/85363 rc syntax error in /etc/rc.d/devfs 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] feature request to make netif verbose rc.conf 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/95162 rc [patch] Missing feature in rc.subr 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/102913 rc [jail] [patch] /etc/rc.d/named killall in jailed OS 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 [PATCH] add redial function to rc.d/ppp o conf/105568 rc [patch] Add more flexibility to rc.conf, to choose "_e o conf/106009 rc [patch] Fix pppoed startup script to process multiply o conf/109562 rc [rc.d] [patch] Make rc.d/devfs usable from command-lin o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa o conf/114119 rc [jail] [patch] /etc/rc.d/jail improvements for network o conf/116177 rc rc.d/mdconfig2 script fail at -CURRENT o conf/116416 rc [patch] per-jail rc.conf(5) style configuration file i 32 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Oct 9 07:45:16 2007 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 06D6316A537 for ; Tue, 9 Oct 2007 07:45:15 +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 9715813C4A8 for ; Tue, 9 Oct 2007 07:45:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 13207 invoked by uid 399); 9 Oct 2007 07:45:15 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 9 Oct 2007 07:45:15 -0000 X-Originating-IP: 127.0.0.1 Date: Tue, 9 Oct 2007 00:45:13 -0700 (PDT) From: Doug Barton To: freebsd-current@freebsd.org Message-ID: X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-rc@freebsd.org Subject: HEADS UP: Compatibility for (really) old rc variables removed 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, 09 Oct 2007 07:45:16 -0000 Please see below. The old variables affected are: portmap_* xntpd_* single_mountd_enable dhcp_program dhcp_flags If you have any of these in your /etc/rc.conf[.local] you should update them to their new equivalents. Doug ---------- Forwarded message ---------- From: Doug Barton To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Tue, 9 Oct 2007 00:20:44 Subject: cvs commit: src/etc rc.subr dougb 2007-10-09 07:20:44 UTC FreeBSD src repository Modified files: etc rc.subr Log: Remove pre-rc.d compatibility shims that were added before the 5.0 branch for pre-5.0 variable names. Remove two dhcp compatibility variables added after the 5.1-RELEASE. Remove the now-unused support for these shims. Approved by: re (kensmith) Revision Changes Path 1.77 +0 -16 src/etc/rc.subr http://www.FreeBSD.org/cgi/cvsweb.cgi/src/etc/rc.subr.diff?&r1=1.76&r2=1.77&f=h From owner-freebsd-rc@FreeBSD.ORG Tue Oct 9 07:47:54 2007 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 B87CE16A418 for ; Tue, 9 Oct 2007 07:47:54 +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 4CC1213C43E for ; Tue, 9 Oct 2007 07:47:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 16002 invoked by uid 399); 9 Oct 2007 07:47:53 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 9 Oct 2007 07:47:53 -0000 X-Originating-IP: 127.0.0.1 Date: Tue, 9 Oct 2007 00:47:51 -0700 (PDT) From: Doug Barton To: freebsd-current@freebsd.org Message-ID: X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-rc@freebsd.org Subject: HEADS UP: Support for /etc/rc.early is now deprecated 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, 09 Oct 2007 07:47:54 -0000 Please see below. If you need help converting an rc.early script that you are currently using to the new rc.d style please see rc(8) first, and if you get stuck the folks on freebsd-rc@ will be glad to help. Regards, Doug ---------- Forwarded message ---------- From: Doug Barton To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Tue, 9 Oct 2007 00:30:14 Subject: cvs commit: src/etc/rc.d early.sh dougb 2007-10-09 07:30:14 UTC FreeBSD src repository Modified files: etc/rc.d early.sh Log: Deprecate use of the early.sh script as advertised when the support for local rc.d scripts in the overall boot order was added. Proper rc.d scripts are run by rc.subr in a subshell, whereas scripts that end in .sh are sourced into rc's shell. The latter has potential to create serious boot problems, and there is no reason that the same functionality cannot be added by the user in the form of a proper rc.d script (as opposed to being added by the user in the form of /etc/rc.early). This script will be removed prior to the 8.0 branch. Approved by: re (kensmith) Revision Changes Path 1.3 +3 -0 src/etc/rc.d/early.sh http://www.FreeBSD.org/cgi/cvsweb.cgi/src/etc/rc.d/early.sh.diff?&r1=1.2&r2=1.3&f=h From owner-freebsd-rc@FreeBSD.ORG Wed Oct 10 19:07:50 2007 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 B7B0A16A46E; Wed, 10 Oct 2007 19:07:50 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 817E713C481; Wed, 10 Oct 2007 19:07:50 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from freefall.freebsd.org (mtm@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9AJ7oDC013080; Wed, 10 Oct 2007 19:07:50 GMT (envelope-from mtm@freefall.freebsd.org) Received: (from mtm@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9AJ7oV5013076; Wed, 10 Oct 2007 19:07:50 GMT (envelope-from mtm) Date: Wed, 10 Oct 2007 19:07:50 GMT Message-Id: <200710101907.l9AJ7oV5013076@freefall.freebsd.org> To: mtm@FreeBSD.org, freebsd-rc@FreeBSD.org, mtm@FreeBSD.org From: mtm@FreeBSD.org Cc: Subject: Re: conf/116416: [patch] per-jail rc.conf(5) style configuration file in /etc/jail/ 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, 10 Oct 2007 19:07:50 -0000 Synopsis: [patch] per-jail rc.conf(5) style configuration file in /etc/jail/ Responsible-Changed-From-To: freebsd-rc->mtm Responsible-Changed-By: mtm Responsible-Changed-When: Wed Oct 10 19:06:41 UTC 2007 Responsible-Changed-Why: I'll take care of this. http://www.freebsd.org/cgi/query-pr.cgi?pr=116416 From owner-freebsd-rc@FreeBSD.ORG Wed Oct 10 19:35:29 2007 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 174AE16A41B; Wed, 10 Oct 2007 19:35:29 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: from terra.mike.lan (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A688613C474; Wed, 10 Oct 2007 19:35:27 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: by terra.mike.lan (Postfix, from userid 1000) id 5C8546781F; Wed, 10 Oct 2007 22:40:00 +0300 (EAT) Date: Wed, 10 Oct 2007 22:40:00 +0300 From: Mike Makonnen To: bug-followup@FreeBSD.org, jeremie@le-hen.org Message-ID: <20071010194000.GA7260@terra.mike.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD/7.0-CURRENT (i386) Cc: freebsd-rc@FreeBSD.Org Subject: Re: conf/116416: [patch] per-jail rc.conf(5) style configuration file in /etc/jail/ 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, 10 Oct 2007 19:35:29 -0000 Hi, I like this patch, especially the second revision. I think people who run a very large number of jails will appreciate it. However, I'd like to see a few changes made: 1. Rename /etc/jail to /etc/jail.d 2. The jails_confdir knob should be sourced from /etc/defaults/rc.conf so the sysadmin can change it if necessary. 3. Instead of simply populating jail_list from the directory if it's empty I'd like to see it cascade through the following logic: If jail_enable=no do nothing (current behaviour) else if jail_enable=yes process jails defined in jail_list (current behaviour) else if jail_enable=auto if jail_list is NOT empty process ONLY the jails listed in it else automatically populate jail_list from /etc/jail.d/ This will give maximum flexibility and choice to the sysadmin. Your patch is essentially the same, however I would like to see the behaviour controlled by the jail_enable knob than have the script determine for itselft what it's going to do. For example, your patch, as it currently stands, would break a setup where the sysadmin had enabled jails but intentionally left jail_list empty in order *not* to start any jails. Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org From owner-freebsd-rc@FreeBSD.ORG Fri Oct 12 18:41:21 2007 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 5912716A417 for ; Fri, 12 Oct 2007 18:41:21 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id D635C13C45D for ; Fri, 12 Oct 2007 18:41:20 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so826622nfb for ; Fri, 12 Oct 2007 11:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=nYc3vSZqoTcTwqc+D0j+sCgV5S7Gt8DYTfwNKNZvoF0=; b=CA/dvJEcC0Fjpw/ASYFFNZm6WP9pWc5zQNuVllmQnm06+Jm1bPjhrQ/ul9gr7Gpnt5yBrdM9NFG5i2X2qGp849BNQ3JZwaDNYHPideXZ+DNTytlMEy+VQSRaun5IMBQccfJVPb7vNFLj7IbPc3n8ECXm9mMbyUz8amenD2A5OFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oUfGZz+7aBQ3CHnKo90xioaD+NELClT/TwKR0BiyXF7hE5b3gAwPGlSMUTXu4lHc3mzFwHZQRrw09OU/Rdls+PKITMKn8IKn25nDlrnnAVmoBeqdeHtSR6HNOeX48kVf1vnoEXc3c+G/ntSEiSVlUyiJ1ZkpYeZtKqbl+hZL6kk= Received: by 10.86.54.3 with SMTP id c3mr2579317fga.1192214479567; Fri, 12 Oct 2007 11:41:19 -0700 (PDT) Received: by 10.86.25.9 with HTTP; Fri, 12 Oct 2007 11:41:19 -0700 (PDT) Message-ID: Date: Fri, 12 Oct 2007 11:41:19 -0700 From: "Maksim Yevmenkin" To: "Mike Makonnen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071006215757.GA10458@terra.mike.lan> <20071007110815.GA16458@terra.mike.lan> Cc: freebsd-rc@freebsd.org Subject: Re: multiple instances of ppp 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, 12 Oct 2007 18:41:21 -0000 Mike and All, any objections to the following patch as an extension for new /etc/rc.d/ppp? it allows to start/stop individual ppp profiles. thanks, max Index: ppp =================================================================== RCS file: /home/ncvs/src/etc/rc.d/ppp,v retrieving revision 1.14 diff -u -r1.14 ppp --- ppp 12 Oct 2007 16:35:36 -0000 1.14 +++ ppp 12 Oct 2007 18:39:01 -0000 @@ -13,6 +13,7 @@ rcvar=`set_rcvar` command="/usr/sbin/${name}" start_cmd="ppp_start" +stop_cmd="ppp_stop" start_postcmd="ppp_poststart" ppp_start_profile() @@ -60,11 +61,16 @@ ppp_start() { - local _p + local _ppp_profile _p + + _ppp_profile=$* + if [ -z "${_ppp_profile}" ]; then + _ppp_profile=$ppp_profile + fi echo -n "Starting PPP profile:" - for _p in $ppp_profile; do + for _p in $_ppp_profile; do echo -n " $_p" ppp_start_profile $_p done @@ -80,5 +86,32 @@ /etc/rc.d/pf resync } +ppp_stop_profile() { + local _ppp_profile + + _ppp_profile=$1 + + pkill -f "^${command}.*[[:space:]]${_ppp_profile}\$" || \ + echo -n "(not running)" +} + +ppp_stop() { + local _ppp_profile _p + + _ppp_profile=$* + if [ -z "${_ppp_profile}" ]; then + _ppp_profile=$ppp_profile + fi + + echo -n "Stopping PPP profile:" + + for _p in $_ppp_profile; do + echo -n " $_p" + ppp_stop_profile $_p + done + + echo "." +} + load_rc_config $name -run_rc_command "$1" +run_rc_command $* thanks, max From owner-freebsd-rc@FreeBSD.ORG Sat Oct 13 21:58:31 2007 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 0147E16A418 for ; Sat, 13 Oct 2007 21:58:31 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 83D3913C46B for ; Sat, 13 Oct 2007 21:58:30 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id CBA2A3F6159; Sat, 13 Oct 2007 23:58:28 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id AF5043F6170; Sat, 13 Oct 2007 23:58:28 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id CA1FA9B497; Sat, 13 Oct 2007 21:58:24 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id BDC7F405B; Sat, 13 Oct 2007 23:58:24 +0200 (CEST) Date: Sat, 13 Oct 2007 23:58:24 +0200 From: Jeremie Le Hen To: Mike Makonnen Message-ID: <20071013215824.GL28841@obiwan.tataz.chchile.org> References: <20070917152229.48842405B@obiwan.tataz.chchile.org> <20071010194000.GA7260@terra.mike.lan> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: <20071010194000.GA7260@terra.mike.lan> User-Agent: Mutt/1.5.15 (2007-04-06) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-rc@FreeBSD.Org, jeremie@le-hen.org, bug-followup@FreeBSD.org Subject: Re: conf/116416: [patch] per-jail rc.conf(5) style configuration file in /etc/jail/ 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, 13 Oct 2007 21:58:31 -0000 --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Mike, Thanks for taking care of this. On Wed, Oct 10, 2007 at 10:40:00PM +0300, Mike Makonnen wrote: > I like this patch, especially the second revision. I think people who > run a very large number of jails will appreciate it. However, I'd like > to see a few changes made: > > 1. Rename /etc/jail to /etc/jail.d > 2. The jails_confdir knob should be sourced from /etc/defaults/rc.conf > so the sysadmin can change it if necessary. > 3. Instead of simply populating jail_list from the directory if it's > empty I'd like to see it cascade through the following logic: > If jail_enable=no > do nothing (current behaviour) > else if jail_enable=yes > process jails defined in jail_list (current behaviour) > else if jail_enable=auto > if jail_list is NOT empty > process ONLY the jails listed in it > else > automatically populate jail_list from /etc/jail.d/ > > This will give maximum flexibility and choice to the sysadmin. > Your patch is essentially the same, however I would like to see the > behaviour controlled by the jail_enable knob than have the script > determine for itselft what it's going to do. For example, your patch, > as it currently stands, would break a setup where the sysadmin had > enabled jails but intentionally left jail_list empty in order *not* to > start any jails. I've included all your requests in the attached patch. If this is not the valid way to attach a file to a PR followup, please let me know. I will be able to document this tomorrow. $jail_confdir should certainly be documented in rc.conf(5), but I'm not sure where to explain the content of /etc/jail.d/. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > --XOIedfhf+7KOe/yw-- From owner-freebsd-rc@FreeBSD.ORG Sat Oct 13 22:54:21 2007 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 ACD6516A420 for ; Sat, 13 Oct 2007 22:54:21 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [80.237.196.4]) by mx1.freebsd.org (Postfix) with ESMTP id F1C2A13C478 for ; Sat, 13 Oct 2007 22:54:20 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 40917 invoked by uid 0); 13 Oct 2007 22:27:04 -0000 Received: from erdgeist.org (erdgeist@erdgeist.org@80.237.196.15) by elektropost.org with AES256-SHA encrypted SMTP; 13 Oct 2007 22:27:04 -0000 Date: Sun, 14 Oct 2007 00:27:03 +0200 (CEST) From: Dirk Engling To: Mike Makonnen In-Reply-To: <20071010194000.GA7260@terra.mike.lan> Message-ID: <20071014001341.I24298@erdgeist.org> References: <20071010194000.GA7260@terra.mike.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-rc@FreeBSD.Org, jeremie@le-hen.org, bug-followup@FreeBSD.org Subject: Re: conf/116416: [patch] per-jail rc.conf(5) style configuration file in /etc/jail/ 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, 13 Oct 2007 22:54:21 -0000 On Wed, 10 Oct 2007, Mike Makonnen wrote: > I like this patch, especially the second revision. I think people who > run a very large number of jails will appreciate it. However, I'd like > to see a few changes made: Hi, before you reinvent the wheel, I'd like you to take a look at my ezjail[1] project. I've done much of the work more than two years ago and would call the results stable and in wide use. I'd be too happy to just use /etc/jail.d as config directory for jails, as I do today with /usr/local/etc/ezjail. However, if you write config files the right way, there is no need to throw awk on them, just source them. Usign an rcorder style scheme on config files allows starting jails in a predefined order. Allowing some pre-start commands to mount root dirs or attach certain disc based memory images would be helpful, too. I'd hate to see diverging developments on jail configs so please do not rush into some sub-optimal decisions. Regards erdgeist [1] http://erdgeist.org/arts/software/ezjail/