From owner-freebsd-rc@FreeBSD.ORG Mon Dec 18 11:08:58 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 CC5A416A51F for ; Mon, 18 Dec 2006 11:08:58 +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 5684243CBD for ; Mon, 18 Dec 2006 11:08:51 +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 kBIB8eVd090031 for ; Mon, 18 Dec 2006 11:08:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBIB8dSK090027 for freebsd-rc@FreeBSD.org; Mon, 18 Dec 2006 11:08:39 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Dec 2006 11:08:39 GMT Message-Id: <200612181108.kBIB8dSK090027@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, 18 Dec 2006 11:08: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/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 6 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 37 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Dec 19 09:19:46 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 5AFF216A407; Tue, 19 Dec 2006 09:19:46 +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 01ADF43CA5; Tue, 19 Dec 2006 09:19:45 +0000 (GMT) (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 kBJ9JjjU032776; Tue, 19 Dec 2006 09:19:45 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBJ9JjIf032772; Tue, 19 Dec 2006 09:19:45 GMT (envelope-from remko) Date: Tue, 19 Dec 2006 09:19:45 GMT From: Remko Lodder Message-Id: <200612190919.kBJ9JjIf032772@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: misc/106902: Suggest, setting nameservers in rc.conf 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, 19 Dec 2006 09:19:46 -0000 Synopsis: Suggest, setting nameservers in rc.conf Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: remko Responsible-Changed-When: Tue Dec 19 09:19:28 UTC 2006 Responsible-Changed-Why: This is something for the -rc team. http://www.freebsd.org/cgi/query-pr.cgi?pr=106902 From owner-freebsd-rc@FreeBSD.ORG Tue Dec 19 17:13: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 D785916A407; Tue, 19 Dec 2006 17:13:37 +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 7D1AF43CD5; Tue, 19 Dec 2006 17:13:26 +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 kBJHDPuM079376; Tue, 19 Dec 2006 17:13:25 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBJHDPd1079372; Tue, 19 Dec 2006 17:13:25 GMT (envelope-from linimon) Date: Tue, 19 Dec 2006 17:13:25 GMT From: Mark Linimon Message-Id: <200612191713.kBJHDPd1079372@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/106873: [patch] rc.d/nfslocking does not properly restart 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, 19 Dec 2006 17:13:38 -0000 Old Synopsis: rc.d/nfslocking does not properly restart New Synopsis: [patch] rc.d/nfslocking does not properly restart Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Tue Dec 19 17:13:09 UTC 2006 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=106873 From owner-freebsd-rc@FreeBSD.ORG Wed Dec 20 14:54:48 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 5F28216A417; Wed, 20 Dec 2006 14:54:48 +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 7053043CBB; Wed, 20 Dec 2006 14:54:47 +0000 (GMT) (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 kBKEslh8009896; Wed, 20 Dec 2006 14:54:47 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBKEsl3g009892; Wed, 20 Dec 2006 14:54:47 GMT (envelope-from remko) Date: Wed, 20 Dec 2006 14:54:47 GMT From: Remko Lodder Message-Id: <200612201454.kBKEsl3g009892@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: misc/106978: "daily run" incorrectly assumes auth.log is rolled more than once a year! 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, 20 Dec 2006 14:54:48 -0000 Synopsis: "daily run" incorrectly assumes auth.log is rolled more than once a year! Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: remko Responsible-Changed-When: Wed Dec 20 14:54:28 UTC 2006 Responsible-Changed-Why: reassign to rc team http://www.freebsd.org/cgi/query-pr.cgi?pr=106978 From owner-freebsd-rc@FreeBSD.ORG Wed Dec 20 18:12:22 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 5A84516A403; Wed, 20 Dec 2006 18:12:22 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0594C43CBB; Wed, 20 Dec 2006 18:10:59 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id kBKHd2mH017420; Wed, 20 Dec 2006 11:39:02 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id kBKHd21s017419; Wed, 20 Dec 2006 11:39:02 -0600 (CST) (envelope-from brooks) Date: Wed, 20 Dec 2006 11:39:01 -0600 From: Brooks Davis To: Remko Lodder Message-ID: <20061220173901.GA16083@lor.one-eyed-alien.net> References: <200612201454.kBKEsl3g009892@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <200612201454.kBKEsl3g009892@freefall.freebsd.org> User-Agent: Mutt/1.5.11 Cc: freebsd-bugs@freebsd.org, freebsd-rc@freebsd.org Subject: Re: misc/106978: "daily run" incorrectly assumes auth.log is rolled more than once a year! 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, 20 Dec 2006 18:12:22 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 20, 2006 at 02:54:47PM +0000, Remko Lodder wrote: > Synopsis: "daily run" incorrectly assumes auth.log is rolled more than on= ce a year! >=20 > Responsible-Changed-From-To: freebsd-bugs->freebsd-rc > Responsible-Changed-By: remko > Responsible-Changed-When: Wed Dec 20 14:54:28 UTC 2006 > Responsible-Changed-Why:=20 > reassign to rc team >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D106978 Assigning this to -rc is bogus. It's not an rc script problem and the only practical solution is a change to /etc/newsyslog.conf. We probably just change all the *'s in the when column to rotate all logs at least yearly. -- Brooks --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFiXU1XY6L6fI4GtQRAro9AJsGLRALnTcMmmpS8SUBL6V72alK+ACcDc0I 3PoNhaO5RwHcFdvWpgDKTsQ= =ToI4 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- From owner-freebsd-rc@FreeBSD.ORG Wed Dec 20 18:24:35 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 B391D16A47B; Wed, 20 Dec 2006 18:24:35 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id E501443CA5; Wed, 20 Dec 2006 18:24:24 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (dougb@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBKIOOwc030535; Wed, 20 Dec 2006 18:24:24 GMT (envelope-from dougb@freefall.freebsd.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBKIOOKS030531; Wed, 20 Dec 2006 18:24:24 GMT (envelope-from dougb) Date: Wed, 20 Dec 2006 18:24:24 GMT From: Doug Barton Message-Id: <200612201824.kBKIOOKS030531@freefall.freebsd.org> To: lon_kamikaze@gmx.de, dougb@FreeBSD.org, freebsd-rc@FreeBSD.org, dougb@FreeBSD.org Cc: Subject: Re: misc/106902: Suggest, setting nameservers in rc.conf 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, 20 Dec 2006 18:24:35 -0000 Synopsis: Suggest, setting nameservers in rc.conf State-Changed-From-To: open->feedback State-Changed-By: dougb State-Changed-When: Wed Dec 20 18:23:07 UTC 2006 State-Changed-Why: I don't see this as a generally useful idea, but perhaps you can say more about the conditions under which your resolv.conf changes, and why you need to rewrite it at boot time? Thanks, Doug Responsible-Changed-From-To: freebsd-rc->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Wed Dec 20 18:23:07 UTC 2006 Responsible-Changed-Why: I'll manage the feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=106902 From owner-freebsd-rc@FreeBSD.ORG Wed Dec 20 19:31:48 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 9997016A403 for ; Wed, 20 Dec 2006 19:31:48 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F63543CA0 for ; Wed, 20 Dec 2006 19:31:46 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 20 Dec 2006 19:05:05 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO [192.168.1.12]) [129.13.72.169] by mail.gmx.net (mp020) with SMTP; 20 Dec 2006 20:05:05 +0100 X-Authenticated: #5465401 Message-ID: <458989A8.8060007@gmx.de> Date: Wed, 20 Dec 2006 20:06:16 +0100 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.8 (X11/20061218) MIME-Version: 1.0 To: bug-followup@FreeBSD.org References: <200612201824.kBKIOOKS030531@freefall.freebsd.org> In-Reply-To: <200612201824.kBKIOOKS030531@freefall.freebsd.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Doug Barton , freebsd-rc@FreeBSD.org Subject: Re: misc/106902: Suggest, setting nameservers in rc.conf 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, 20 Dec 2006 19:31:48 -0000 Doug Barton wrote: > Synopsis: Suggest, setting nameservers in rc.conf > > I don't see this as a generally useful idea, but perhaps you > can say more about the conditions under which your resolv.conf > changes, and why you need to rewrite it at boot time? > > Thanks, > > Doug While taking it around to other places I connect to different networks via wireless, so my rc.conf gets changed often by dhclient and vpnc. But at home I prefer to use cable LAN and there's no DHCP server running (it's a static network, no need for that). I can set the IP/subnet and the gateway in rc.conf, but I have to get the nameserver into the resolv.conf and there's simply not a convenient way to do this. If I'd make it read only, I wouldn't be able to use wireless any more. And I like the idea of having the network configuration in one place (rc.conf). Even if I want to reset it on runtime I only have to type # rcstart resolv (I'm using sysutils/bsdadminscripts), so for me it's a really just the most convenient way to reset the resolv.conf. From owner-freebsd-rc@FreeBSD.ORG Wed Dec 20 20:20:05 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 E376016A47C for ; Wed, 20 Dec 2006 20:20:05 +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 7F25943CBD for ; Wed, 20 Dec 2006 20:19:51 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 2851 invoked by uid 399); 20 Dec 2006 19:53:58 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 20 Dec 2006 19:53:58 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <4589949F.5030409@FreeBSD.org> Date: Wed, 20 Dec 2006 11:53:03 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: "[LoN]Kamikaze" References: <200612201824.kBKIOOKS030531@freefall.freebsd.org> <458989A8.8060007@gmx.de> In-Reply-To: <458989A8.8060007@gmx.de> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: misc/106902: Suggest, setting nameservers in rc.conf 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, 20 Dec 2006 20:20:06 -0000 [LoN]Kamikaze wrote: > Doug Barton wrote: >> Synopsis: Suggest, setting nameservers in rc.conf >> > > I don't see this as a generally useful idea, but perhaps you >> can say more about the conditions under which your resolv.conf >> changes, and why you need to rewrite it at boot time? >> >> Thanks, >> >> Doug > > While taking it around to other places I connect to different networks via wireless, so my rc.conf gets changed often by dhclient and vpnc. But at home I prefer to use cable LAN and there's no DHCP server running (it's a static network, no need for that). I can set the IP/subnet and the gateway in rc.conf, but I have to get the nameserver into the resolv.conf and there's simply not a convenient way to do this. > If I'd make it read only, I wouldn't be able to use wireless any more. And I like the idea of having the network configuration in one place (rc.conf). > Even if I want to reset it on runtime I only have to type > # rcstart resolv > (I'm using sysutils/bsdadminscripts), so for me it's a really just the most convenient way to reset the resolv.conf. > If someone else chimes in and says, "Yes, that sounds like a really useful idea that I can see XYZ applications for" then I'd be likely to say let's go ahead and add it. Meanwhile, I have a similar situation, and what I do to fix it is use an /etc/rc.local script that looks like this: #!/bin/sh PATH=/bin:/usr/bin:/sbin export PATH for ip in `ifconfig | awk '/inet / {print $2}'`; do case "${ip}" in 127.0.0.1|0.0.0.0) ;; .*) Do a bunch of stuff ;; *) Do other stuff ;; esac done exit 0 I obviously think rc.d is a great tool, but I don't think trying to shoehorn every system administration problem into it is a good idea. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Thu Dec 21 19:31:54 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 DA2AF16A403; Thu, 21 Dec 2006 19:31:54 +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 B2C0013C44B; Thu, 21 Dec 2006 19:31:54 +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 kBLJVs0C011559; Thu, 21 Dec 2006 19:31:54 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBLJVsHZ011555; Thu, 21 Dec 2006 19:31:54 GMT (envelope-from remko) Date: Thu, 21 Dec 2006 19:31:54 GMT From: Remko Lodder Message-Id: <200612211931.kBLJVsHZ011555@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@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: Thu, 21 Dec 2006 19:31:55 -0000 Synopsis: bridge interface given in rc.conf not taking an (static) IP address Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: remko Responsible-Changed-When: Thu Dec 21 19:31:42 UTC 2006 Responsible-Changed-Why: reassign to rc. http://www.freebsd.org/cgi/query-pr.cgi?pr=107035 From owner-freebsd-rc@FreeBSD.ORG Fri Dec 22 03:02:22 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 142EB16A407 for ; Fri, 22 Dec 2006 03:02:22 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [217.13.206.148]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7E813C44E for ; Fri, 22 Dec 2006 03:02:21 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: (qmail 27533 invoked from network); 22 Dec 2006 02:35:38 -0000 Received: from unknown (HELO ?192.168.23.66?) (cryx@85.178.109.46) by mail.h3q.com with AES256-SHA encrypted SMTP; 22 Dec 2006 02:35:38 -0000 Message-ID: <458B4479.7060408@h3q.com> Date: Fri, 22 Dec 2006 03:35:37 +0100 From: Philipp Wuensche User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: freebsd-rc@freebsd.org References: <20061219003401.GA23251@p-i-n.com> In-Reply-To: <20061219003401.GA23251@p-i-n.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Raphael H. Becker" , 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: Fri, 22 Dec 2006 03:02:22 -0000 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: 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=1.31&r2=1.32. 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} 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. ${jail_interface} is only the correct interface out of luck, so it should be changed to _interface too. 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. I think I already mentioned once that I don't like this interface and ipaddr. configuration feature in rc.d/jail at all. 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. --- 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_${_jail}.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} greetings, philipp From owner-freebsd-rc@FreeBSD.ORG Sat Dec 23 16:20:29 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 3287716A4A7; Sat, 23 Dec 2006 16:20: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 0D71E13C461; Sat, 23 Dec 2006 16:20: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 kBNGKSFS077970; Sat, 23 Dec 2006 16:20:28 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBNGKS2n077966; Sat, 23 Dec 2006 16:20:28 GMT (envelope-from linimon) Date: Sat, 23 Dec 2006 16:20:28 GMT From: Mark Linimon Message-Id: <200612231620.kBNGKS2n077966@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@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: Sat, 23 Dec 2006 16:20:29 -0000 Synopsis: [patch] nojail keyword missing from etc/rc.d/auto-linklocal in 6.2-PRERELEASE Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Sat Dec 23 16:20:20 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=107083