From owner-freebsd-stable@FreeBSD.ORG Fri Feb 11 17:05:06 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8C6716A4CE for ; Fri, 11 Feb 2005 17:05:06 +0000 (GMT) Received: from TheWorld.com (pcls3.std.com [192.74.137.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A57343D1D for ; Fri, 11 Feb 2005 17:05:06 +0000 (GMT) (envelope-from kwc@shell.TheWorld.com) Received: from shell.TheWorld.com (root@shell01-e.TheWorld.com [69.38.147.31]) by TheWorld.com (8.12.8p1/8.12.8) with ESMTP id j1BH1ZEr019161; Fri, 11 Feb 2005 12:01:35 -0500 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id MAA2233749; Fri, 11 Feb 2005 12:01:35 -0500 (EST) Date: Fri, 11 Feb 2005 12:01:35 -0500 (EST) From: Kenneth W Cochran Message-Id: <200502111701.MAA2233749@shell.TheWorld.com> To: Scot Hetzel References: <200502110700.CAA2221314@shell.TheWorld.com> <200502111248.HAA2236362@shell.TheWorld.com> <200502111358.IAA2201639@shell.TheWorld.com> cc: freebsd-stable@freebsd.org Subject: fixed: 5.3-stable doesn't ifconfig at startup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 17:05:06 -0000 >Date: Fri, 11 Feb 2005 09:51:00 -0600 >From: Scot Hetzel >To: Kenneth W Cochran >Subject: Re: 5.3-stable doesn't ifconfig at startup >Cc: freebsd-stable@freebsd.org > >On Fri, 11 Feb 2005 08:58:02 -0500 (EST), Kenneth W Cochran >> >> >> Hello -stable: >> >> >> >> >> >> Any idea(s) why (my) 5.3-stable (as of 9 February) isn't >> >> >> configuring the network interface or setting up the default route? >> >> >> >> >> >> I installed 5.3-release from CD and things worked fine. >> >> >> Then I updated the system sources (via cvsup) to RELENG_5 and >> >> >> went through {build,install}world/mergemaster/reboot as outlined >> > > >what does your /etc/rc.conf look like? /etc/rc.conf did not change between OS versions. See below... Thanks :) -kc Original message: >Date: Fri, 11 Feb 2005 02:00:39 -0500 (EST) >From: Kenneth W Cochran >To: freebsd-stable@freebsd.org >Subject: 5.3-stable doesn't ifconfig at startup > >Hello -stable: > >Any idea(s) why (my) 5.3-stable (as of 9 February) isn't >configuring the network interface or setting up the default route? > >I installed 5.3-release from CD and things worked fine. >Then I updated the system sources (via cvsup) to RELENG_5 and >went through {build,install}world/mergemaster/reboot as outlined >in /usr/src/UPDATING and now I get no network interfaces >configured & no default route set. I've tracked RELENG_4 for >years with nothing like this ever happening. Kernel has not been >reconfigured (yet), it's still GENERIC, albeit RELENG_5 now. > >In looking through the rc scripts, it appears that network >interface(s) are being renamed but I see no references to this >in, say, UPDATING or errara or other documentation. Any ideas? >Pointers to documentation are welcome. :) Ok, found the problem - turned out to be the *filemode(s)* of the updated bits in /etc/rc.d/*. The "netif" script was filemode 644, rendering it not "executable." Changing its filemode to 555 (and that of other updated scripts as well), as per installation, fixed it. Background: Upon installation, with only a couple of exceptions (oversights?) all the files in /etc/rc.d are root:wheel and mode 555 (-r-xr-xr-x). Rather than using mergemaster to replace the updated files/scripts (reason: I want to preserve cvsup dates and previous versions of /etc-pieces and mergemaster timestamps the files as of mergemaster-time), I merely copied (-p) the updated files from /usr/src/rc.d/*. It appears that mergemaster does, however, fix the owner:group:filemode of whatever it installs. This points up another question or two: How can I make sure that I have "correct"/proper owner:group:mode within the "system?" It looks to me like install{world,kernel} fix them but what of /etc? In other words, how can I "audit" the permissions in the system in general and /etc in particular? Can mergemaster preserve the file modification time(s) of what it installs (from /usr/src/*)? Documentation pointers welcome. :) Thanks to all, -kc