Date: Fri, 11 Feb 2005 12:01:35 -0500 (EST) From: Kenneth W Cochran <kwc@TheWorld.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: freebsd-stable@freebsd.org Subject: fixed: 5.3-stable doesn't ifconfig at startup Message-ID: <200502111701.MAA2233749@shell.TheWorld.com> References: <200502110700.CAA2221314@shell.TheWorld.com> <200502111248.HAA2236362@shell.TheWorld.com> <200502111358.IAA2201639@shell.TheWorld.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Fri, 11 Feb 2005 09:51:00 -0600 >From: Scot Hetzel <swhetzel@gmail.com> >To: Kenneth W Cochran <kwc@theworld.com> >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 <kwc@theworld.com> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502111701.MAA2233749>