From owner-freebsd-rc@FreeBSD.ORG Mon Sep 11 09:22:55 2006 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08E3B16A407; Mon, 11 Sep 2006 09:22:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9E8B43D46; Mon, 11 Sep 2006 09:22:54 +0000 (GMT) (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 k8B9MskM049030; Mon, 11 Sep 2006 09:22:54 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8B9MsI3049026; Mon, 11 Sep 2006 09:22:54 GMT (envelope-from linimon) Date: Mon, 11 Sep 2006 09:22:54 GMT From: Mark Linimon Message-Id: <200609110922.k8B9MsI3049026@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/102722: kerberos5 server startupscript should use --detach 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, 11 Sep 2006 09:22:55 -0000 Synopsis: kerberos5 server startupscript should use --detach Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Mon Sep 11 09:22:45 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=102722 From owner-freebsd-rc@FreeBSD.ORG Mon Sep 11 11:08:29 2006 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C55F216A615 for ; Mon, 11 Sep 2006 11:08:29 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 747B843D49 for ; Mon, 11 Sep 2006 11:08:29 +0000 (GMT) (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 k8BB8TEf063298 for ; Mon, 11 Sep 2006 11:08:29 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8BB8RiL063294 for freebsd-rc@FreeBSD.org; Mon, 11 Sep 2006 11:08:27 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Sep 2006 11:08:27 GMT Message-Id: <200609111108.k8BB8RiL063294@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, 11 Sep 2006 11:08:29 -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/98734 rc [patch] /etc/rc.subr restart_postcmd is failing start_ 2 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/96766 rc run_rc_command doesn't work for Python scripts o conf/97311 rc [patch] /etc/rc.d/ipfilter reload can load bad files 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 bin/100287 rc /etc/rc.subr cannot deal properly with interpreted dae 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 28 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Sep 11 20:32:50 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0638916A412 for ; Mon, 11 Sep 2006 20:32:50 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFCF143D70 for ; Mon, 11 Sep 2006 20:32:49 +0000 (GMT) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1225) id 869375B76E; Mon, 11 Sep 2006 13:32:49 -0700 (PDT) Date: Mon, 11 Sep 2006 13:32:49 -0700 From: Christopher Cowart To: freebsd-rc@freebsd.org Message-ID: <20060911203249.GA20764@rescomp.berkeley.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: isc-dhcpd.sh jail options conflict with /etc/rc.subr 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, 11 Sep 2006 20:32:50 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I posted to questions last week, but have not received any responses.=20 =09 The port for isc-dhcp3-server has config options for enabling FreeBSD process jails. Basically, through a series of command line arguments that are generated by the isc-dhcpd.sh script, the chroot is auto-generated when you start the service and dhcpd makes the syscall to jail itself. This is actually really nifty and makes the process of running dhcpd in a thin jail brainless. The problem happens when I run "isc-dhcpd.sh stop":=20 dhcpd not running? (check /var/jails/dhcpd/var/run/dhcpd/dhcpd.pid). Well, I know better. dhcpd is clearly running with the pid indicated in the pid file. After investigating /etc/rc.subr, I've determined the cause (where $JID is the jid of the running rc script and $_jid is the jid of the process, determined by ps output): if [ "$JID" -eq "$_jid" ]; This prevents me from using the rc script outside the jail to stop the jail'd dhcpd process. /etc/rc.subr is making a false assumption that people won't want to be controlling jailed services via rc scripts on the host machine. My question is how do I get around this? I'd prefer not to hack rc.subr unless it's a community-useable patch that can be incorporated back into the official sources. One option would be to allow rc scripts to set some sort of "CHECK_JAILS" variable and to implement the necessary logic to handle it in rc.subr. Is there a better solution? --=20 Chris Cowart Unix Systems Administrator Residential Computing, UC Berkeley "May all your pushes be popped" --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFFBcfxV3SOqjnqPh0RAoO5AJ4joW+cIdGchde6ZPxDeawVvdRIOACffn+W QZI6exW5rV8fg2Qynxlqx3A= =d1dU -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-rc@FreeBSD.ORG Mon Sep 11 22:17:29 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9095E16A4A7 for ; Mon, 11 Sep 2006 22:17:29 +0000 (UTC) (envelope-from dat1965@yahoo.com) Received: from web55106.mail.re4.yahoo.com (web55106.mail.re4.yahoo.com [206.190.58.155]) by mx1.FreeBSD.org (Postfix) with SMTP id C59B643D68 for ; Mon, 11 Sep 2006 22:17:28 +0000 (GMT) (envelope-from dat1965@yahoo.com) Received: (qmail 15609 invoked by uid 60001); 11 Sep 2006 22:17:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6joPbKP5hj8CABIdoes+c3AOoa+nfvHXpWLUQkgQ9yrsX/N0hvLKhBhAhxoxVLfoaNe47fI1Xgd/NpQ1qg6DeirW3bMOvdZbos8e8cw6qpECOXVSpT+hP+C3jF6oWbkp0miv4Dc4RhCMB0SAs5JIUZenHQA7ly80Zfq7vp7qIRA= ; Message-ID: <20060911221728.15607.qmail@web55106.mail.re4.yahoo.com> Received: from [67.131.247.220] by web55106.mail.re4.yahoo.com via HTTP; Mon, 11 Sep 2006 15:17:28 PDT Date: Mon, 11 Sep 2006 15:17:28 -0700 (PDT) From: David Thompson To: Christopher Cowart In-Reply-To: <20060911203249.GA20764@rescomp.berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-rc@freebsd.org Subject: Re: isc-dhcpd.sh jail options conflict with /etc/rc.subr 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, 11 Sep 2006 22:17:29 -0000 --- Christopher Cowart wrote: > The port for isc-dhcp3-server has config options for enabling FreeBSD > process jails. Basically, through a series of command line arguments > that are generated by the isc-dhcpd.sh script, the chroot is > auto-generated when you start the service and dhcpd makes the syscall to > jail itself. This is actually really nifty and makes the process of > running dhcpd in a thin jail brainless. > > The problem happens when I run "isc-dhcpd.sh stop": > dhcpd not running? (check /var/jails/dhcpd/var/run/dhcpd/dhcpd.pid). > > Well, I know better. dhcpd is clearly running with the pid indicated in > the pid file. After investigating /etc/rc.subr, I've determined the > cause (where $JID is the jid of the running rc script and $_jid is the > jid of the process, determined by ps output): > if [ "$JID" -eq "$_jid" ]; > > This prevents me from using the rc script outside the jail to stop the > jail'd dhcpd process. /etc/rc.subr is making a false assumption that > people won't want to be controlling jailed services via rc scripts on > the host machine. > > My question is how do I get around this? I'd prefer not to hack rc.subr > unless it's a community-useable patch that can be incorporated back into > the official sources. One option would be to allow rc scripts to set > some sort of "CHECK_JAILS" variable and to implement the necessary logic > to handle it in rc.subr. Is there a better solution? One idea might be to hack your isc-dhcpd.sh script so that right after the /etc/rc.subr is sourced, you add your own command to properly set JID, . /etc/rc.subr JID=`...your own command to set JID correctly...` -- David __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-rc@FreeBSD.ORG Mon Sep 11 22:46:15 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ED0F16A412 for ; Mon, 11 Sep 2006 22:46:15 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id B690043D67 for ; Mon, 11 Sep 2006 22:46:12 +0000 (GMT) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1225) id 666CD5B76C; Mon, 11 Sep 2006 15:46:12 -0700 (PDT) Date: Mon, 11 Sep 2006 15:46:12 -0700 From: Christopher Cowart To: David Thompson Message-ID: <20060911224612.GA26819@rescomp.berkeley.edu> References: <20060911203249.GA20764@rescomp.berkeley.edu> <20060911221728.15607.qmail@web55106.mail.re4.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20060911221728.15607.qmail@web55106.mail.re4.yahoo.com> User-Agent: Mutt/1.5.9i Cc: freebsd-rc@freebsd.org Subject: Re: isc-dhcpd.sh jail options conflict with /etc/rc.subr 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, 11 Sep 2006 22:46:15 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > One idea might be to hack your isc-dhcpd.sh script so that right > after the /etc/rc.subr is sourced, you add your own command to > properly set JID, >=20 > . /etc/rc.subr > JID=3D`...your own command to set JID correctly...` That works. I'm going to create a patch and submit to the dhcpd maintainers. Thanks, --=20 Chris Cowart Unix Systems Administrator Residential Computing, UC Berkeley "May all your pushes be popped" --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFFBec0V3SOqjnqPh0RAhq4AKCgeEmt0jqsBAVdnmSjxGblW6+VlgCcD0tI kojgT6tfxZCz5OXLx/8THKQ= =V8UQ -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- From owner-freebsd-rc@FreeBSD.ORG Wed Sep 13 11:49:58 2006 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7B0516A40F; Wed, 13 Sep 2006 11:49:58 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6329743D55; Wed, 13 Sep 2006 11:49:58 +0000 (GMT) (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 k8DBnwL0079611; Wed, 13 Sep 2006 11:49:58 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8DBnwFq079607; Wed, 13 Sep 2006 11:49:58 GMT (envelope-from linimon) Date: Wed, 13 Sep 2006 11:49:58 GMT From: Mark Linimon Message-Id: <200609131149.k8DBnwFq079607@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/103215: [patch] "security run output" info flooded with pointless warnings 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, 13 Sep 2006 11:49:58 -0000 Synopsis: [patch] "security run output" info flooded with pointless warnings Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Wed Sep 13 11:49:48 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=103215 From owner-freebsd-rc@FreeBSD.ORG Wed Sep 13 15:24:47 2006 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C8416A523; Wed, 13 Sep 2006 15:24:47 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 478FE43D49; Wed, 13 Sep 2006 15:24:47 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (delphij@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8DFOlnu097967; Wed, 13 Sep 2006 15:24:47 GMT (envelope-from delphij@freefall.freebsd.org) Received: (from delphij@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8DFOltB097963; Wed, 13 Sep 2006 15:24:47 GMT (envelope-from delphij) Date: Wed, 13 Sep 2006 15:24:47 GMT From: Xin LI Message-Id: <200609131524.k8DFOltB097963@freefall.freebsd.org> To: delphij@FreeBSD.org, freebsd-rc@FreeBSD.org, des@FreeBSD.org Cc: Subject: Re: conf/103215: [patch] "security run output" info flooded with pointless warnings 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, 13 Sep 2006 15:24:47 -0000 Synopsis: [patch] "security run output" info flooded with pointless warnings Responsible-Changed-From-To: freebsd-rc->des Responsible-Changed-By: delphij Responsible-Changed-When: Wed Sep 13 15:20:29 UTC 2006 Responsible-Changed-Why: Over to OpenSSH maintainer. (Personally I do not agree with the patch, and it should really be routed to openbsd.org first, where OpenSSH is being maintained). http://www.freebsd.org/cgi/query-pr.cgi?pr=103215 From owner-freebsd-rc@FreeBSD.ORG Fri Sep 15 23:35:01 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6581A16A415 for ; Fri, 15 Sep 2006 23:35:01 +0000 (UTC) (envelope-from dat1965@yahoo.com) Received: from web55113.mail.re4.yahoo.com (web55113.mail.re4.yahoo.com [206.190.58.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 7939643D46 for ; Fri, 15 Sep 2006 23:35:00 +0000 (GMT) (envelope-from dat1965@yahoo.com) Received: (qmail 57683 invoked by uid 60001); 15 Sep 2006 23:34:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l9qcwS4btJNaklld8WM+kI4Lg1tBLxf/OmpMKjtIyIhwF7NSWN59yQADtnvWkqogeKZRcdwxyKftoiJzqaPa2M/K/G0zdx3Hvj/ZitQMYgZrw41ep2a5XmXX7cQH9ge+A34UbulVFmhUAuvrJ4BPVYUwXz2aFxxRFOFXIz1PhTg= ; Message-ID: <20060915233459.57681.qmail@web55113.mail.re4.yahoo.com> Received: from [67.131.247.220] by web55113.mail.re4.yahoo.com via HTTP; Fri, 15 Sep 2006 16:34:59 PDT Date: Fri, 15 Sep 2006 16:34:59 -0700 (PDT) From: David Thompson To: freebsd-rc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: /etc/rc.subr debug() logs messages with INFO 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, 15 Sep 2006 23:35:01 -0000 Hi, Looking at /etc/rc.subr rev 1.68 on CVSweb, you can see the meat of info() doing these commands, if [ -x /usr/bin/logger ]; then logger "$0: INFO: $*" fi echo "$0: INFO: $*" Here is similar debug() meat, if [ -x /usr/bin/logger ]; then logger "$0: INFO: $*" fi echo 1>&2 "$0: DEBUG: $*" Huh? Why is the debug() function calling logger and identifying its messages with "INFO". Looks to be typo. Can anyone confirm? -- David __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com