From owner-freebsd-rc@FreeBSD.ORG Mon Feb 26 11:15:59 2007 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org 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 6580716A403 for ; Mon, 26 Feb 2007 11:15:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 51D4A13C4BA for ; Mon, 26 Feb 2007 11:15:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1QBFxjU005541 for ; Mon, 26 Feb 2007 11:15:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1QBFr6w005535 for freebsd-rc@FreeBSD.org; Mon, 26 Feb 2007 11:15:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Feb 2007 11:15:53 GMT Message-Id: <200702261115.l1QBFr6w005535@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon 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, 26 Feb 2007 11:15:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/48881 rc [PATCH] The influence of /etc/start_ifname on /etc/rc. o conf/98758 rc [patch] Templatize 'jail_fstab' in /etc/rc.d/jail o conf/98846 rc [patch] Templatize 'jail_rootdir' in /etc/rc.d/jail o bin/104623 rc "rc.d/ppp restart" stops all instances of ppp o conf/105689 rc syslogd starts too late at boot o conf/107155 rc /etc/rc.d/ppp-user does not bring up pppoe at boot o conf/107316 rc [rc.d]: [base] [rpc.lockd] nfslocking restart does not o conf/107364 rc pf fails to start on bootup after system update from F o conf/108226 rc second copy of ppp started at boot time 9 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/45226 rc Fix for rc.network, ppp-user annoyance o conf/48870 rc [PATCH] rc.network: allow to cancel interface status d o conf/55916 rc [PATCH] ppp-user options 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/78906 rc [patch] Allow mixer_enable="NO" in rc.conf 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/99595 rc [PATCH] /etc/rc.d/dhclient doesn't interact well with o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/102700 rc [PATCH] Add encrypted /tmp support to GELI/GBDE rc.d s o conf/102722 rc kerberos5 server startupscript should use --detach o conf/102913 rc /etc/rc.d/named killall in jailed OS o conf/103486 rc [rc.d][patch][chroot named] rc.d/jail: mount fstab aft o conf/103489 rc [rc.d] [patch] named_chroot_autoupdate doesn't work in o conf/103976 rc rc.d/named restart failure o conf/104408 rc command not set in rc.d/isdnd, can't stop isdnd with 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/106873 rc [patch] rc.d/nfslocking does not properly restart o conf/107035 rc bridge interface given in rc.conf not taking an (stati 35 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Feb 26 21:02:29 2007 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9B3216A400; Mon, 26 Feb 2007 21:02:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A03A913C467; Mon, 26 Feb 2007 21:02:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1QL2TqF048231; Mon, 26 Feb 2007 21:02:29 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1QL2THC048226; Mon, 26 Feb 2007 21:02:29 GMT (envelope-from linimon) Date: Mon, 26 Feb 2007 21:02:29 GMT From: Mark Linimon Message-Id: <200702262102.l1QL2THC048226@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/109562: [rc.d] [patch] Make rc.d/devfs usable from command-line 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, 26 Feb 2007 21:02:29 -0000 Synopsis: [rc.d] [patch] Make rc.d/devfs usable from command-line Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Mon Feb 26 21:02:04 UTC 2007 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=109562 From owner-freebsd-rc@FreeBSD.ORG Tue Feb 27 08:50:09 2007 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0A9116A400 for ; Tue, 27 Feb 2007 08:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE5E13C467 for ; Tue, 27 Feb 2007 08:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1R8o9RD093981 for ; Tue, 27 Feb 2007 08:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1R8o9D4093980; Tue, 27 Feb 2007 08:50:09 GMT (envelope-from gnats) Date: Tue, 27 Feb 2007 08:50:09 GMT Message-Id: <200702270850.l1R8o9D4093980@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Charles KOPROWSKI Cc: Subject: Re: conf/107035: bridge interface given in rc.conf not taking an (static) IP address X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Charles KOPROWSKI 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, 27 Feb 2007 08:50:09 -0000 The following reply was made to PR conf/107035; it has been noted by GNATS. From: Charles KOPROWSKI To: bug-followup@FreeBSD.org, mafua@dempseyuniform.com Cc: Subject: Re: conf/107035: bridge interface given in rc.conf not taking an (static) IP address Date: Tue, 27 Feb 2007 09:21:00 +0100 Hi, I had the same problem setting up a bridge with static ip address. I tried with a different order of arguments as it was sugested by Andrew and it worked. Here's my /etc/rc.conf: ifconfig_vr0="up" ifconfig_dc0="up" cloned_interfaces="bridge0" ifconfig_bridge0="inet 10.0.1.10 netmask 255.255.255.0 addm vr0 addm dc0" cheers From owner-freebsd-rc@FreeBSD.ORG Tue Feb 27 09:01:16 2007 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33EEA16A405; Tue, 27 Feb 2007 09:01:16 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 05C3513C4B3; Tue, 27 Feb 2007 09:01:15 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from freefall.freebsd.org (thompsa@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1R91FbR094726; Tue, 27 Feb 2007 09:01:15 GMT (envelope-from thompsa@freefall.freebsd.org) Received: (from thompsa@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1R91F9x094722; Tue, 27 Feb 2007 09:01:15 GMT (envelope-from thompsa) Date: Tue, 27 Feb 2007 09:01:15 GMT From: Andrew Thompson Message-Id: <200702270901.l1R91F9x094722@freefall.freebsd.org> To: thompsa@FreeBSD.org, freebsd-rc@FreeBSD.org, freebsd-net@FreeBSD.org Cc: Subject: Re: conf/107035: bridge interface given in rc.conf not taking an (static) IP address 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, 27 Feb 2007 09:01:16 -0000 Synopsis: bridge interface given in rc.conf not taking an (static) IP address Responsible-Changed-From-To: freebsd-rc->freebsd-net Responsible-Changed-By: thompsa Responsible-Changed-When: Tue Feb 27 08:58:47 UTC 2007 Responsible-Changed-Why: This is a limitation of ifconfig rather than rc. The ip address needs to be the first argument, why is this so? http://www.freebsd.org/cgi/query-pr.cgi?pr=107035 From owner-freebsd-rc@FreeBSD.ORG Tue Feb 27 13:55:31 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org 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 82B5616A403 for ; Tue, 27 Feb 2007 13:55:31 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from crow.padonki.org.ua (crow.padonki.org.ua [213.186.192.71]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4E813C48D for ; Tue, 27 Feb 2007 13:55:31 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from minotaur by crow.padonki.org.ua with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HM2XA-000A8b-PC; Tue, 27 Feb 2007 15:38:24 +0200 Date: Tue, 27 Feb 2007 15:38:24 +0200 From: Alexander Shikoff To: freebsd-rc@freebsd.org Message-ID: <20070227133824.GA49950@crete.org.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Alexander Shikoff Subject: rc.subr in 6.2 RELEASE X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Shikoff 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, 27 Feb 2007 13:55:31 -0000 Hello, I guess my issue is more related to this mailing list rather than to SpamAssassin one. I use SpamAssassin built from ports tree on 6.2-RELEASE box. When debug is enabled via adding --debug flag to spamd_flags in rc.conf then rcNG script does not stop process: # /usr/local/etc/rc.d/sa-spamd stop spamd not running? (check /var/run/spamd/spamd.pid). But: # cat /var/run/spamd/spamd.pid 98080 # ps axww|grep spamd 98080 ?? Ss 0:02,24 /usr/local/bin/perl5.8.8 -T -w /usr/local/bin/spamd --siteconfigpath=/usr/local/etc/mail/spamassassin -x -d -l --max-conn-per-child=128 --timeout-tcp=10 --timeout-child=300 --pidfile=/var/run/spamd/spamd.pid --syslog=local0 --username=spamd --groupname=spamd --allowed-ips=127.0.0.0/8 --listen-ip=127.0.0.1 --debug=received-header,bayes -d -r /var/run/spamd/spamd.pid If --debug flag is disabled then output of ps axww turned into: # ps axww|grep spamd 8483 ?? Ss 0:00,50 /usr/local/bin/spamd --siteconfigpath=/usr/local/etc/mail/spamassassin -x -d -l --max-conn-per-child=128 --timeout-tcp=10 --timeout-child=300 --pidfile=/var/run/spamd/spamd.pid --syslog=local0 --username=spamd --groupname=spamd --allowed-ips=127.0.0.0/8 --listen-ip=127.0.0.1 -d -r /var/run/spamd/spamd.pid (perl5.8.8) and rcNG script works perfectly. My question: is there a way to make rcNG script work in first case? Thanks. -- Kind Regards, Alexander Shikoff minotaur@crete.org.ua Mob.: +380 67 946 31 49 From owner-freebsd-rc@FreeBSD.ORG Tue Feb 27 18:24:02 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org 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 E3E7416A400 for ; Tue, 27 Feb 2007 18:24:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 827E113C494 for ; Tue, 27 Feb 2007 18:24:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 31553 invoked by uid 399); 27 Feb 2007 18:24:01 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 27 Feb 2007 18:24:01 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45E47739.9050108@FreeBSD.org> Date: Tue, 27 Feb 2007 10:23:53 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Alexander Shikoff References: <20070227133824.GA49950@crete.org.ua> In-Reply-To: <20070227133824.GA49950@crete.org.ua> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: scheidell@secnap.net, freebsd-rc@freebsd.org Subject: Re: rc.subr in 6.2 RELEASE 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, 27 Feb 2007 18:24:03 -0000 Alexander Shikoff wrote: > Hello, > > I guess my issue is more related to this mailing list rather than to > SpamAssassin one. You could also have submitted your question to freebsd-ports@freebsd.org, but there is nothing wrong with asking here. :) > I use SpamAssassin built from ports tree on 6.2-RELEASE box. > When debug is enabled via adding --debug flag to spamd_flags in rc.conf > then rcNG script does not stop process: It's not rcNG anymore, btw. We refer to it as rc.d now. And can you send the output of 'grep spamd /etc/rc.conf*' please? I suspect that your problem is the way that the default flags are specified in the script. We have: : ${spamd_flags="-c %%SQL_FLAG%% %%RUN_AS_USER%%"} If you put: spamd_flags="--debug" in /etc/rc.conf[.local], then you won't get those default flags, and I suspect that is the cause of the problems you're seeing. For the maintainer, I wonder if it's possible for those default flags to be added to command_args to avoid this issue? hth, Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Wed Feb 28 08:35:32 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org 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 42C0616A4EC for ; Wed, 28 Feb 2007 08:35:32 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from crow.padonki.org.ua (crow.padonki.org.ua [213.186.192.71]) by mx1.freebsd.org (Postfix) with ESMTP id 01BC113C494 for ; Wed, 28 Feb 2007 08:35:31 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from minotaur by crow.padonki.org.ua with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HMKHY-000Ko9-CI; Wed, 28 Feb 2007 10:35:28 +0200 Date: Wed, 28 Feb 2007 10:35:28 +0200 From: Alexander Shikoff To: Doug Barton Message-ID: <20070228083528.GA78906@crete.org.ua> References: <20070227133824.GA49950@crete.org.ua> <45E47739.9050108@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline In-Reply-To: <45E47739.9050108@FreeBSD.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Alexander Shikoff Cc: scheidell@secnap.net, freebsd-rc@freebsd.org Subject: Re: rc.subr in 6.2 RELEASE X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Shikoff 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, 28 Feb 2007 08:35:32 -0000 On Tue, Feb 27, 2007 at 10:23:53AM -0800, Doug Barton wrote: > Alexander Shikoff wrote: > > Hello, > > > > I guess my issue is more related to this mailing list rather than to > > SpamAssassin one. > > You could also have submitted your question to > freebsd-ports@freebsd.org, but there is nothing wrong with asking here. :) > > > I use SpamAssassin built from ports tree on 6.2-RELEASE box. > > When debug is enabled via adding --debug flag to spamd_flags in rc.conf > > then rcNG script does not stop process: > > It's not rcNG anymore, btw. We refer to it as rc.d now. And can you > send the output of 'grep spamd /etc/rc.conf*' please? I suspect that > your problem is the way that the default flags are specified in the > script. We have: > > : ${spamd_flags="-c %%SQL_FLAG%% %%RUN_AS_USER%%"} spamd_enable="YES" spamd_flags="\ --siteconfigpath=/usr/local/etc/mail/spamassassin \ -x -d -l \ --max-conn-per-child=128 \ --timeout-tcp=10 \ --timeout-child=300 \ --pidfile=/var/run/spamd/spamd.pid \ --syslog=local0 \ --username=spamd \ --groupname=spamd \ --allowed-ips=127.0.0.0/8 \ --listen-ip=127.0.0.1 \ --debug=received-header,bayes" As I can see the output of 'ps axww' is depend on next lines in spamd: # grep -A3 '^sub daem' /usr/local/bin/spamd sub daemonize { # Pretty command line in ps $0 = join (' ', $ORIG_ARG0, @ORIG_ARGV) unless would_log("dbg"); ^^^^^^^^^^^^^^^^^^^^^^^^^^ i.e. when --debug flag is specified then output of 'ps axww' looks like 80028 ?? Ss 0:04,68 /usr/local/bin/perl5.8.8 -T -w /usr/local/bin/spamd --siteconfigpath=/usr/local/etc/mail/spamassassin -x -d -l --max-conn-per-child=128 --timeout-tcp=10 --timeout-child=300 --pidfile=/var/run/spamd/spamd.pid --syslog=local0 --username=spamd --groupname=spamd --allowed-ips=127.0.0.0/8 --listen-ip=127.0.0.1 --debug received-header -d -r /var/run/spamd/spamd.pid That is rc.d script does not affect that output. Really rc.subr function _find_processes() cannot find neccessary process in that case. -- Kind Regards, Alexander Shikoff minotaur@crete.org.ua Mob.: +380 67 946 31 49 From owner-freebsd-rc@FreeBSD.ORG Thu Mar 1 18:55:38 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org 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 0DFF516A403 for ; Thu, 1 Mar 2007 18:55:38 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id BBCF213C491 for ; Thu, 1 Mar 2007 18:55:37 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7dcf.q.ppp-pool.de [89.53.125.207]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 9C77B128843 for ; Thu, 1 Mar 2007 19:33:29 +0100 (CET) Received: from [192.168.16.3] (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 6E1942E752 for ; Thu, 1 Mar 2007 19:33:18 +0100 (CET) Message-ID: <45E71C6B.6040000@vwsoft.com> Date: Thu, 01 Mar 2007 19:33:15 +0100 From: Volker User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: freebsd-rc@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Subject: rcNG'ification 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, 01 Mar 2007 18:55:38 -0000 Hi! While I've installed another port a few days ago, I came across there're still some (...or some more...) ports in the tree which aren't rcng'ified. This is bad as I've installed net-mgmt/net-snmp4 just for getting snmpwalk but am using bsnmp from the base system so I didn't wanted the snmpd to start (but it did on the next reboot and that was really, really badly stupid). I would like to take the time to work through the ports system and make sure rcNG'ification is done for every port which is starting a daemon. Just two quick questions: 1) any thoughts on that? 2) Is there any committer who is willing to receive rcng'ification patches from me by email? I don't think GNATS is a good place for probably some hundred patches (I could easily find some non-rcng ports in a few minutes without looking deeper). Greetings, Volker From owner-freebsd-rc@FreeBSD.ORG Thu Mar 1 23:08:19 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org 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 7A08816A405 for ; Thu, 1 Mar 2007 23:08:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 2E04C13C442 for ; Thu, 1 Mar 2007 23:08:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 23948 invoked by uid 399); 1 Mar 2007 23:08:18 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 1 Mar 2007 23:08:18 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45E75CE0.9010504@FreeBSD.org> Date: Thu, 01 Mar 2007 15:08:16 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Volker References: <45E71C6B.6040000@vwsoft.com> In-Reply-To: <45E71C6B.6040000@vwsoft.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: rcNG'ification 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, 01 Mar 2007 23:08:19 -0000 Lesson number one, we don't refer to it as "rcng" nowadays, since it's not "next generation" anymore. The preferred term is rc.d. Volker wrote: > Hi! > > While I've installed another port a few days ago, I came across > there're still some (...or some more...) ports in the tree which > aren't rcng'ified. That's not really surprising. With 16,000+ ports there are some that get less maintenance than others, and not every port _needs_ to be converted. While it would be nice to be uniform, it's not really a crisis. > This is bad as I've installed net-mgmt/net-snmp4 just for getting > snmpwalk but am using bsnmp from the base system so I didn't wanted > the snmpd to start (but it did on the next reboot and that was > really, really badly stupid). This on the other hand is a good reason for ports that need it to be converted sooner rather than later. > I would like to take the time to work through the ports system and > make sure rcNG'ification is done for every port which is starting a > daemon. That would be a marvelous undertaking, but I would focus your attention first on ports for which the boot order actually matters. > Just two quick questions: > > 1) any thoughts on that? The only thing I would add is that you may get better results by starting with the subset of ports for which boot order matters that are also unmaintained (maintainer=ports@freebsd.org). Of course, the obvious advice of make sure you read the documentation (http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html and the link to the rc.d handbook chapter at the top, as well as the rc* man pages, and rc.subr) to make sure that you're familiar with how these things should be written. I would also suggest that you do 3 or 4 of them first, then post a link to your work here so that we can help you make sure you're on the right track. > 2) Is there any committer who is willing to receive rcng'ification > patches from me by email? I don't think GNATS is a good place for > probably some hundred patches (I could easily find some non-rcng > ports in a few minutes without looking deeper). Do it in gnats for several reasons, the two most important of which are wider review and more likely volunteers to help get your work into the tree. Also, when you venture forward into the realm of ports that actually are maintained, the best way to manage the approval process is with gnats. One final word, you can skip the cvsup-mirror port, since I've already converted that one, and I'll be working with John when he comes back up for air to get it in the tree. hope this helps, Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Sat Mar 3 23:16:59 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org 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 D69DD16A400 for ; Sat, 3 Mar 2007 23:16:59 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id 3E43213C478 for ; Sat, 3 Mar 2007 23:16:58 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id l23NGu18044188; Sun, 4 Mar 2007 02:16:56 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id l23NGtoC044187; Sun, 4 Mar 2007 02:16:55 +0300 (MSK) (envelope-from yar) Date: Sun, 4 Mar 2007 02:16:55 +0300 From: Yar Tikhiy To: Volker Message-ID: <20070303231654.GD40430@comp.chem.msu.su> References: <45E71C6B.6040000@vwsoft.com> <45E75CE0.9010504@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45E75CE0.9010504@FreeBSD.org> User-Agent: Mutt/1.5.9i Cc: Doug Barton , freebsd-rc@freebsd.org Subject: Re: rcNG'ification 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, 03 Mar 2007 23:16:59 -0000 On Thu, Mar 01, 2007 at 03:08:16PM -0800, Doug Barton wrote: [...] > The only thing I would add is that you may get better results by > starting with the subset of ports for which boot order matters that > are also unmaintained (maintainer=ports@freebsd.org). Of course, the > obvious advice of make sure you read the documentation > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html > and the link to the rc.d handbook chapter at the top, as well as the > rc* man pages, and rc.subr) to make sure that you're familiar with how > these things should be written. [...] Can't miss a chance to promote my article on rc.d scripting. :-) http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/ I spent some time figuring out how different things in rc.d were related to each other and failed to find that in existing docs, hence the article. Perhaps it should be read after the FreeBSD Handbook chapter, which tells what is rc.d, and after the Porter's Handbook chapter, which outlines how rc.d is linked with ports. -- Yar