From owner-freebsd-rc@FreeBSD.ORG Sun Dec 31 11:09:32 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1666716A416; Sun, 31 Dec 2006 11:09:32 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E3B8413C44B; Sun, 31 Dec 2006 11:09:31 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBVB9VT7008724; Sun, 31 Dec 2006 11:09:31 GMT (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBVB9Vis008720; Sun, 31 Dec 2006 11:09:31 GMT (envelope-from yar) Date: Sun, 31 Dec 2006 11:09:31 GMT From: Yar Tikhiy Message-Id: <200612311109.kBVB9Vis008720@freefall.freebsd.org> To: rob@oxdi.co.uk, yar@FreeBSD.org, freebsd-rc@FreeBSD.org, yar@FreeBSD.org Cc: Subject: Re: bin/100287: /etc/rc.subr cannot deal properly with interpreted daemons whos shebang uses /usr/bin/env 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, 31 Dec 2006 11:09:32 -0000 Synopsis: /etc/rc.subr cannot deal properly with interpreted daemons whos shebang uses /usr/bin/env State-Changed-From-To: open->patched State-Changed-By: yar State-Changed-When: Sun Dec 31 11:07:44 UTC 2006 State-Changed-Why: Fixed in CURRENT; MFC is due in 1 week. Thanks! Responsible-Changed-From-To: freebsd-rc->yar Responsible-Changed-By: yar Responsible-Changed-When: Sun Dec 31 11:07:44 UTC 2006 Responsible-Changed-Why: Fixed in CURRENT; MFC is due in 1 week. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=100287 From owner-freebsd-rc@FreeBSD.ORG Sun Dec 31 19:33:26 2006 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 99DFD16A403 for ; Sun, 31 Dec 2006 19:33:26 +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 D7FBF13C458 for ; Sun, 31 Dec 2006 19:33:25 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 50851 invoked by uid 0); 31 Dec 2006 19:06:31 -0000 Received: from e179011158.adsl.alicedsl.de (HELO ?10.1.2.191?) (erdgeist@erdgeist.org@85.179.11.158) by elektropost.org with AES256-SHA encrypted SMTP; 31 Dec 2006 19:06:31 -0000 Message-ID: <45980A42.90709@erdgeist.org> Date: Sun, 31 Dec 2006 20:06:42 +0100 From: Dirk Engling User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: freebsd-rc X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: jail ip auto configuration 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, 31 Dec 2006 19:33:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When reading http://www.freebsd.org/cgi/query-pr.cgi?pr=107278 I wondered, what the automatic removal of IP addresses is good for, at all. Why not leave all auto-configured addresses up? This is by magnitudes less error prone and brings no apparent problems. Regards erdgeist -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFFmApCImmQdUyYEgkRAvS8AJ9tfzRWLVSXp1mCweth9hveDQVH0ACfXbYi DXsMXZDiX/fHuznfD3IXHDo= =AenV -----END PGP SIGNATURE----- From owner-freebsd-rc@FreeBSD.ORG Sun Dec 24 10:54:01 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A80416A407; Sun, 24 Dec 2006 10:54:01 +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 2D1C813C481; Sun, 24 Dec 2006 10:54:01 +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 kBOAs1Ga093121; Sun, 24 Dec 2006 10:54:01 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBOAs1Fp093117; Sun, 24 Dec 2006 10:54:01 GMT (envelope-from linimon) Date: Sun, 24 Dec 2006 10:54:01 GMT From: Mark Linimon Message-Id: <200612241054.kBOAs1Fp093117@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/107155: /etc/rc.d/ppp-user does not bring up pppoe 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, 24 Dec 2006 10:54:01 -0000 Synopsis: /etc/rc.d/ppp-user does not bring up pppoe at boot Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Sun Dec 24 10:53:38 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=107155 From owner-freebsd-rc@FreeBSD.ORG Mon Dec 25 00:50:56 2006 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 ECC3116A47E; Mon, 25 Dec 2006 00:50:56 +0000 (UTC) (envelope-from rabe@p-i-n.com) Received: from aposerv.p-i-n.com (aposerv.p-i-n.com [62.156.172.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5DF2113C470; Mon, 25 Dec 2006 00:50:56 +0000 (UTC) (envelope-from rabe@p-i-n.com) Received: from p-i-n.com (pinserv2.p-i-n.com [10.101.240.52]) by aposerv.p-i-n.com (8.12.11/8.12.11) with ESMTP id kBP0ZMKM052261; Mon, 25 Dec 2006 01:35:27 +0100 (CET) (envelope-from rabe@p-i-n.com) Received: from pinserv2.p-i-n.com (localhost.p-i-n.com [127.0.0.1]) by p-i-n.com (8.13.6/8.13.6) with ESMTP id kBP0ZI5i024664; Mon, 25 Dec 2006 01:35:18 +0100 (CET) (envelope-from rabe@pinserv2.p-i-n.com) Received: (from rabe@localhost) by pinserv2.p-i-n.com (8.13.6/8.13.6/Submit) id kBP0ZIUq024663; Mon, 25 Dec 2006 01:35:18 +0100 (CET) (envelope-from rabe) Date: Mon, 25 Dec 2006 01:35:18 +0100 From: "Raphael H. Becker" To: Philipp Wuensche Message-ID: <20061225003517.GA2680@p-i-n.com> References: <20061219003401.GA23251@p-i-n.com> <458B4479.7060408@h3q.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <458B4479.7060408@h3q.com> User-Agent: Mutt/1.4.2.2i Organization: PHOENIX Pharmahandel AG & Co KG, Mannheim, Deutschland Cc: freebsd-stable@freebsd.org, freebsd-rc@freebsd.org Subject: Re: /etc/rc.d/jail: losing IPs if jail_x_interface set and syntax error in jails /etc/rc? 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, 25 Dec 2006 00:50:57 -0000 Hi Philipp, On Fri, Dec 22, 2006 at 03:35:37AM +0100, Philipp Wuensche wrote: > Raphael H. Becker wrote: > > Hi *, > > > > I recently triggered an error when setting up a jail-host: I configured > > the jail(s) like evry jail I set up in the past: > --- rc.d/jail.old Fri Dec 22 03:09:27 2006 > +++ rc.d/jail Fri Dec 22 03:10:07 2006 > @@ -228,8 +228,8 @@ Kümmerst Du dich darum, dass der Patch reinkommt oder soll ich mich direkt an Florent (letzter Committer) wenden? Oder ist der Patch schon unterwegs? Ich verfolge eigentlich recht lückenlos cvs-all (bzw cvs-src und cvs-ports) und da wäre es mir aufgefallen, wenn sich da was getan hätte. In RC2 scheint es noch nicht drin zu sein. Besten Dank! Gruß Raphael From owner-freebsd-rc@FreeBSD.ORG Mon Dec 25 11:08:51 2006 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 CD72216A6C8 for ; Mon, 25 Dec 2006 11:08:51 +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 BBC4D13C473 for ; Mon, 25 Dec 2006 11:08:51 +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 kBPB8pdp034688 for ; Mon, 25 Dec 2006 11:08:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBPB8nfk034684 for freebsd-rc@FreeBSD.org; Mon, 25 Dec 2006 11:08:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Dec 2006 11:08:49 GMT Message-Id: <200612251108.kBPB8nfk034684@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, 25 Dec 2006 11:08:51 -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_ 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 7 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/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 o conf/103486 rc [rc.d] [patch] rc.d/jail: mount fstab after devfs 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/104884 rc [patch] Add support EtherChannel configuration to rc.c 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/105570 rc [patch] to allow tun(4) in rc.conf 'cloned_interfaces' 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/106978 rc "daily run" incorrectly assumes auth.log is rolled mor o conf/107035 rc bridge interface given in rc.conf not taking an (stati o conf/107083 rc [patch] nojail keyword missing from etc/rc.d/auto-link 41 problems total. From owner-freebsd-rc@FreeBSD.ORG Wed Dec 27 11:07:01 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F165B16A407; Wed, 27 Dec 2006 11:07:01 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id DF62B13C473; Wed, 27 Dec 2006 11:07:01 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBRB71ra025765; Wed, 27 Dec 2006 11:07:01 GMT (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBRB71r9025761; Wed, 27 Dec 2006 11:07:01 GMT (envelope-from yar) Date: Wed, 27 Dec 2006 11:07:01 GMT From: Yar Tikhiy Message-Id: <200612271107.kBRB71r9025761@freefall.freebsd.org> To: rick@wzoeterwoude.net, yar@FreeBSD.org, freebsd-rc@FreeBSD.org, yar@FreeBSD.org Cc: Subject: Re: conf/98734: [patch] /etc/rc.subr restart_postcmd is failing start_postcmd executed instead 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, 27 Dec 2006 11:07:02 -0000 Synopsis: [patch] /etc/rc.subr restart_postcmd is failing start_postcmd executed instead State-Changed-From-To: open->analyzed State-Changed-By: yar State-Changed-When: Wed Dec 27 11:02:22 UTC 2006 State-Changed-Why: I've fixed this issue in my p4 branch where I hack rc.d. I will merge it to the project's main source tree RSN along with my other fixes to the processing of precmd and postcmd by rc.subr. Thank you for spotting this bug! Responsible-Changed-From-To: freebsd-rc->yar Responsible-Changed-By: yar Responsible-Changed-When: Wed Dec 27 11:02:22 UTC 2006 Responsible-Changed-Why: I've fixed this issue in my p4 branch where I hack rc.d. I will merge it to the project's main source tree RSN along with my other fixes to the processing of precmd and postcmd by rc.subr. Thank you for spotting this bug! http://www.freebsd.org/cgi/query-pr.cgi?pr=98734 From owner-freebsd-rc@FreeBSD.ORG Wed Dec 27 11:31:16 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DEFAD16A40F; Wed, 27 Dec 2006 11:31:16 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B7D2F13C46E; Wed, 27 Dec 2006 11:31:16 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBRBVGci028943; Wed, 27 Dec 2006 11:31:16 GMT (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBRBVGF2028939; Wed, 27 Dec 2006 11:31:16 GMT (envelope-from yar) Date: Wed, 27 Dec 2006 11:31:16 GMT From: Yar Tikhiy Message-Id: <200612271131.kBRBVGF2028939@freefall.freebsd.org> To: rb@ravenbrook.com, yar@FreeBSD.org, freebsd-rc@FreeBSD.org, yar@FreeBSD.org Cc: Subject: Re: conf/96766: run_rc_command doesn't work for Python scripts 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, 27 Dec 2006 11:31:17 -0000 Synopsis: run_rc_command doesn't work for Python scripts State-Changed-From-To: open->closed State-Changed-By: yar State-Changed-When: Wed Dec 27 11:29:04 UTC 2006 State-Changed-Why: PR bin/100287 describes the same problem in more general terms as it isn't specific to Python scripts. Please move the activity regarding this issue to PR bin/100287. Responsible-Changed-From-To: freebsd-rc->yar Responsible-Changed-By: yar Responsible-Changed-When: Wed Dec 27 11:29:04 UTC 2006 Responsible-Changed-Why: So I can see feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=96766 From owner-freebsd-rc@FreeBSD.ORG Wed Dec 27 11:33:37 2006 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 C413B16A416 for ; Wed, 27 Dec 2006 11:33:37 +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 EDF1113C46D for ; Wed, 27 Dec 2006 11:33:36 +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.3) with ESMTP id kBRAuVuA032475 for ; Wed, 27 Dec 2006 13:56:31 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id kBRAuVsl032474 for freebsd-rc@freebsd.org; Wed, 27 Dec 2006 13:56:31 +0300 (MSK) (envelope-from yar) Date: Wed, 27 Dec 2006 13:56:31 +0300 From: Yar Tikhiy To: freebsd-rc@freebsd.org Message-ID: <20061227105630.GB21493@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: rc.d namespace 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, 27 Dec 2006 11:33:37 -0000 Hi folks, My attention has been drawn by the fact that rc.subr and rc.d/* don't seem to follow uniform namespace rules. Namely both rc.subr and rc.d use global identifiers starting with an underscore. Fortunately, rc.subr doesn't seem to use global identifiers not starting with an underscore besides the names exported to scripts on purpose. What do you think about adopting the following rule: "_foo" names are for the rc.subr internals while just "foo" names are for rc.d scripts? Another possible way is: __foo or even __rc_foo for rc.subr, _foo for scripts, foo for the documented rc.subr interface. Comments? -- Yar From owner-freebsd-rc@FreeBSD.ORG Wed Dec 27 20:40:09 2006 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 451B016A403; Wed, 27 Dec 2006 20:40:09 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id C12C313C473; Wed, 27 Dec 2006 20:40:08 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by postfix2-g20.free.fr (Postfix) with ESMTP id 62944847487; Wed, 27 Dec 2006 20:21:28 +0100 (CET) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp1-g19.free.fr (Postfix) with ESMTP id 19B6C9B6F6; Wed, 27 Dec 2006 21:21:23 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 89F1F118E6; Wed, 27 Dec 2006 21:21:23 +0100 (CET) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i6F4MJQa8Od1; Wed, 27 Dec 2006 21:21:18 +0100 (CET) Received: from [192.168.42.103] (unknown [192.168.42.254]) by smtp.xbsd.org (Postfix) with ESMTP id F00F51174A; Wed, 27 Dec 2006 21:21:17 +0100 (CET) Message-ID: <4592D5B2.3040406@xbsd.org> Date: Wed, 27 Dec 2006 20:21:06 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Philipp Wuensche References: <20061219003401.GA23251@p-i-n.com> <458B4479.7060408@h3q.com> In-Reply-To: <458B4479.7060408@h3q.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13864EA1DF5336FB601E633F" Cc: "Raphael H. Becker" , re@FreeBSD.org, freebsd-rc@freebsd.org, freebsd-stable@freebsd.org Subject: Re: /etc/rc.d/jail: losing IPs if jail_x_interface set and syntax error in jails /etc/rc? 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, 27 Dec 2006 20:40:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13864EA1DF5336FB601E633F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Philipp Wuensche wrote: > Raphael H. Becker wrote: >> Hi *, >> >> I recently triggered an error when setting up a jail-host: I configure= d >> the jail(s) like evry jail I set up in the past: >=20 > Yes, this is a bug in rc.d/jail and was introduced in this change: > http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/jail.diff?r1=3D1.31&= r2=3D1.32. >=20 > When a jail fails to start, in your case a broken rc.conf in the jail, > the jail is stopped and the ipaddr-alias is unconfigured from the > interface with the following command: ifconfig ${jail_interface} -alias= > ${jail_ip} >=20 > Unfortunately in the change above the variables were renamed to > _interface and _ip, this leads to ifconfig getting executed without a > specified ipaddr. and therefore the first alias is unconfigured, which > is in most cases the ipaddr. you are having access to the remote host. >=20 > ${jail_interface} is only the correct interface out of luck, so it > should be changed to _interface too. >=20 > I think the correct way would be to call jail_stop() instead of doing > the cleanup by hand but in the current implementation this would leave > the ipaddr-alias configured on the interface. >=20 > I think I already mentioned once that I don't like this interface and > ipaddr. configuration feature in rc.d/jail at all. >=20 > Anyway, the quick fix is trivial and should be included in 6.2. > Otherwise we have a possible DoS security problem with the new release.= >=20 > --- rc.d/jail.old Fri Dec 22 03:09:27 2006 > +++ rc.d/jail Fri Dec 22 03:10:07 2006 > @@ -228,8 +228,8 @@ > echo ${_jail_id} > /var/run/jail_${_jai= l}.id > else > jail_umount_fs > - if [ -n "${jail_interface}" ]; then > - ifconfig ${jail_interface} > -alias ${jail_ip} > + if [ -n "${_interface}" ]; then > + ifconfig ${_interface} -alias $= {_ip} > fi > echo " cannot start jail \"${_jail}\": = " > tail +2 ${_tmp_jail} Patch looks good. Would be indeed nice to have this fixed before 6.2R is released. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig13864EA1DF5336FB601E633F 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.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFktW7MxEkbVFH3PQRAjzeAJ99e+YvVKp2i38KzabbC5NI2y70QQCggrRK SL2FMc2jk0avyQ5BIvOCrxc= =m+TF -----END PGP SIGNATURE----- --------------enig13864EA1DF5336FB601E633F-- From owner-freebsd-rc@FreeBSD.ORG Thu Dec 28 00:23:47 2006 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 0CB6116A407 for ; Thu, 28 Dec 2006 00:23:47 +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 A494213C478 for ; Thu, 28 Dec 2006 00:23:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 21944 invoked by uid 399); 27 Dec 2006 23:57:06 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 27 Dec 2006 23:57:06 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45930850.4070906@FreeBSD.org> Date: Wed, 27 Dec 2006 15:57:04 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Thunderbird 1.5.0.8 (X11/20061215) MIME-Version: 1.0 To: Yar Tikhiy References: <20061227105630.GB21493@comp.chem.msu.su> In-Reply-To: <20061227105630.GB21493@comp.chem.msu.su> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: rc.d namespace 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, 28 Dec 2006 00:23:47 -0000 Yar Tikhiy wrote: > Hi folks, > > My attention has been drawn by the fact that rc.subr and rc.d/* > don't seem to follow uniform namespace rules. In general I'm in favor of consistency, but could you be more specific about what problem you're trying to solve? > Namely both rc.subr > and rc.d use global identifiers starting with an underscore. > Fortunately, rc.subr doesn't seem to use global identifiers not > starting with an underscore besides the names exported to scripts > on purpose. That's good news. > What do you think about adopting the following rule: "_foo" names > are for the rc.subr internals while just "foo" names are for rc.d > scripts? That works for me, especially if we don't have to make a lot of gratuitous changes to rc.subr. I would like to minimize the pain of adopting any new stuff from NetBSD if possible. > Another possible way is: __foo or even __rc_foo for > rc.subr, _foo for scripts, foo for the documented rc.subr interface. Personally I think that's too much drama. Since they are executed in a subshell, I don't really see a need for variables in individual rc.d scripts to be so careful about their namespace that they need something like _foo to start with, so I'd rather "enforce" this for the scripts than make radical changes to rc.d itself. Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Thu Dec 28 07:02:54 2006 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 D2F7C16A416 for ; Thu, 28 Dec 2006 07:02:54 +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 1BBF713C48A for ; Thu, 28 Dec 2006 07:02:53 +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.3) with ESMTP id kBS72n1G052474; Thu, 28 Dec 2006 10:02:49 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id kBS72mEb052473; Thu, 28 Dec 2006 10:02:48 +0300 (MSK) (envelope-from yar) Date: Thu, 28 Dec 2006 10:02:48 +0300 From: Yar Tikhiy To: Doug Barton Message-ID: <20061228070248.GC21493@comp.chem.msu.su> References: <20061227105630.GB21493@comp.chem.msu.su> <45930850.4070906@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45930850.4070906@FreeBSD.org> User-Agent: Mutt/1.5.9i Cc: freebsd-rc@FreeBSD.org Subject: Re: rc.d namespace 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, 28 Dec 2006 07:02:54 -0000 On Wed, Dec 27, 2006 at 03:57:04PM -0800, Doug Barton wrote: > Yar Tikhiy wrote: > > Hi folks, > > > > My attention has been drawn by the fact that rc.subr and rc.d/* > > don't seem to follow uniform namespace rules. > > In general I'm in favor of consistency, but could you be more specific > about what problem you're trying to solve? "Don't fix a working thing", huh? :-) The problem is that clashes are possible between global names in rc.subr itself and those in rc.d scripts unless we separate their namespaces. The current situation isn't quite tangled yet, so it is good time to take care of the future. > > Namely both rc.subr > > and rc.d use global identifiers starting with an underscore. > > Fortunately, rc.subr doesn't seem to use global identifiers not > > starting with an underscore besides the names exported to scripts > > on purpose. > > That's good news. > > > What do you think about adopting the following rule: "_foo" names > > are for the rc.subr internals while just "foo" names are for rc.d > > scripts? > > That works for me, especially if we don't have to make a lot of > gratuitous changes to rc.subr. I would like to minimize the pain of > adopting any new stuff from NetBSD if possible. Thanks. In this way, only some rc.d scripts have to be changed. > > Another possible way is: __foo or even __rc_foo for > > rc.subr, _foo for scripts, foo for the documented rc.subr interface. > > Personally I think that's too much drama. Since they are executed in a > subshell, I don't really see a need for variables in individual rc.d > scripts to be so careful about their namespace that they need > something like _foo to start with, so I'd rather "enforce" this for > the scripts than make radical changes to rc.d itself. It's true that different rc.d scripts run in different subshells, but each script shares its actual namespace with rc.subr, which can need private (i.e., undocumanted in rc.subr(8)) global objects such as variables and functions. That's why I suggest lexically separating the namespace of rc.subr and that of end-consumer scripts living in /etc/rc.d. For now, in order to avoid a name collision, an rc.d developer has to grep all scripts in /etc/rc.d (and potentially in /usr/local/etc/rc.d) when he wants to add a global var or func to /etc/rc.sbur; and he has to grep /etc/rc.subr when he is about to add to /etc/rc.d a new script using global names. -- Yar From owner-freebsd-rc@FreeBSD.ORG Thu Dec 28 13:39:52 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 786E716A40F; Thu, 28 Dec 2006 13:39:52 +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 5041513C491; Thu, 28 Dec 2006 13:39:52 +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 kBSDdqfZ081588; Thu, 28 Dec 2006 13:39:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBSDdqPO081584; Thu, 28 Dec 2006 13:39:52 GMT (envelope-from linimon) Date: Thu, 28 Dec 2006 13:39:52 GMT From: Mark Linimon Message-Id: <200612281339.kBSDdqPO081584@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/107278: [patch] possible DoS when using the jail_interface option in rc.conf introduced with 6.2 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, 28 Dec 2006 13:39:52 -0000 Old Synopsis: Possible DoS when using the jail_interface option in rc.conf introduced with 6.2 New Synopsis: [patch] possible DoS when using the jail_interface option in rc.conf introduced with 6.2 Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 28 13:39:33 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=107278 From owner-freebsd-rc@FreeBSD.ORG Fri Dec 29 11:38:37 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E406A16A403; Fri, 29 Dec 2006 11:38:37 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id BC64113C4D7; Fri, 29 Dec 2006 11:38:37 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBT0JoL8045057; Fri, 29 Dec 2006 00:19:50 GMT (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBT0JoI4045053; Fri, 29 Dec 2006 00:19:50 GMT (envelope-from rwatson) Date: Fri, 29 Dec 2006 00:19:50 GMT From: Robert Watson Message-Id: <200612290019.kBT0JoI4045053@freefall.freebsd.org> To: rwatson@FreeBSD.org, freebsd-rc@FreeBSD.org, hrs@FreeBSD.org Cc: Subject: Re: conf/107083: [patch] nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE 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, 29 Dec 2006 11:38:38 -0000 Synopsis: [patch] nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE Responsible-Changed-From-To: freebsd-rc->hrs Responsible-Changed-By: rwatson Responsible-Changed-When: Fri Dec 29 00:19:19 UTC 2006 Responsible-Changed-Why: Assign to hrs, who has most recently worked with this file. http://www.freebsd.org/cgi/query-pr.cgi?pr=107083 From owner-freebsd-rc@FreeBSD.ORG Fri Dec 29 15:34:45 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC8C116A4A0; Fri, 29 Dec 2006 15:34:45 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3A513C44B; Fri, 29 Dec 2006 15:34:45 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBTFYjXu037556; Fri, 29 Dec 2006 15:34:45 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBTFYje0037552; Fri, 29 Dec 2006 15:34:45 GMT (envelope-from remko) Date: Fri, 29 Dec 2006 15:34:45 GMT From: Remko Lodder Message-Id: <200612291534.kBTFYje0037552@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd 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, 29 Dec 2006 15:34:46 -0000 Old Synopsis: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd New Synopsis: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: remko Responsible-Changed-When: Fri Dec 29 15:34:30 UTC 2006 Responsible-Changed-Why: Assign to the rc team. http://www.freebsd.org/cgi/query-pr.cgi?pr=107316 From owner-freebsd-rc@FreeBSD.ORG Sat Dec 30 06:40:19 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A858616A403 for ; Sat, 30 Dec 2006 06:40:19 +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 53EBF13C44B for ; Sat, 30 Dec 2006 06:40:19 +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 kBU6eJsd033697 for ; Sat, 30 Dec 2006 06:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBU6eJWf033696; Sat, 30 Dec 2006 06:40:19 GMT (envelope-from gnats) Date: Sat, 30 Dec 2006 06:40:19 GMT Message-Id: <200612300640.kBU6eJWf033696@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Antonio Querubin Cc: Subject: Re: conf/89061: IPv6 6to4 auto-configuration enhancement X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Antonio Querubin 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, 30 Dec 2006 06:40:19 -0000 The following reply was made to PR conf/89061; it has been noted by GNATS. From: Antonio Querubin To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/89061: IPv6 6to4 auto-configuration enhancement Date: Fri, 29 Dec 2006 20:15:57 -1000 (HST) Here's an updated patch that doesn't require /usr. --- /usr/src/etc/rc.d/network_ipv6 Thu Oct 7 03:55:26 2004 +++ /etc/rc.d/network_ipv6 Fri Dec 29 18:49:32 2006 @@ -100,6 +100,38 @@ fi # Setup IPv6 to IPv4 mapping + if checkyesno auto6to4_enable; then + # Determine the interface of the IPv4 default route. + ipv4_default_if=`route get default \ + | while read name val ; do + case ${name} in + interface:) + echo $val + break + ;; + esac + done` + # Define the 6to4 tunnel's IPv4 address to match the first + # IPv4 address of the IPv4 default interface. + stf_interface_ipv4addr=`ifconfig ${ipv4_default_if} inet \ + | while read family addr junk ; do + case ${family} in + inet) + echo $addr + break + ;; + esac + done` + # If no IPv6 default gateway is defined, use the RFC 3068 + # anycast address. + case ${ipv6_defaultrouter} in + [Nn][Oo] | '') + ipv6_defaultrouter="2002:c058:6301::" + ;; + *) + ;; + esac + fi network6_stf_setup # Install the "default interface" to kernel, which will be used ---------------- Antonio Querubin tony@lava.net From owner-freebsd-rc@FreeBSD.ORG Sat Dec 30 13:11:18 2006 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 7651C16A403; Sat, 30 Dec 2006 13:11:18 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.freebsd.org (Postfix) with ESMTP id 318CF13C428; Sat, 30 Dec 2006 13:11:17 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.64 (FreeBSD)) (envelope-from ) id 1H0dd5-000DDR-IT; Sat, 30 Dec 2006 12:48:03 +0000 Date: Sat, 30 Dec 2006 12:48:03 +0000 From: Ceri Davies To: FreeBSD Gnats Submit Message-ID: <20061230124803.GB97921@submonkey.net> Mail-Followup-To: Ceri Davies , FreeBSD Gnats Submit , freebsd-rc@FreeBSD.org, Remko Lodder References: <200612291534.kBTFYje0037552@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612291534.kBTFYje0037552@freefall.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Ceri Davies Cc: Remko Lodder , freebsd-rc@FreeBSD.org Subject: Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd 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, 30 Dec 2006 13:11:18 -0000 Restarting twice from the same script is explicitly denied in /etc/rc.subr: 783 # prevent restart being called more 784 # than once by any given script 785 # 786 if ${_rc_restart_done:-false}; then 787 return 0 788 fi 789 _rc_restart_done=true This is why it's failing to restart rpc.lockd, but I don't know why that check is there. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere From owner-freebsd-rc@FreeBSD.ORG Sat Dec 30 13:20:23 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E60616A5D4 for ; Sat, 30 Dec 2006 13:20:23 +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 B8D3C13C44C for ; Sat, 30 Dec 2006 13:20:22 +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 kBUDKMEE072586 for ; Sat, 30 Dec 2006 13:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBUDKMkT072585; Sat, 30 Dec 2006 13:20:22 GMT (envelope-from gnats) Date: Sat, 30 Dec 2006 13:20:22 GMT Message-Id: <200612301320.kBUDKMkT072585@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Ceri Davies Cc: Subject: Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ceri Davies 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, 30 Dec 2006 13:20:23 -0000 The following reply was made to PR conf/107316; it has been noted by GNATS. From: Ceri Davies To: FreeBSD Gnats Submit Cc: freebsd-rc@FreeBSD.org, Remko Lodder Subject: Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd Date: Sat, 30 Dec 2006 12:48:03 +0000 Restarting twice from the same script is explicitly denied in /etc/rc.subr: 783 # prevent restart being called more 784 # than once by any given script 785 # 786 if ${_rc_restart_done:-false}; then 787 return 0 788 fi 789 _rc_restart_done=true This is why it's failing to restart rpc.lockd, but I don't know why that check is there. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere