Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2010 20:10:17 -0800
From:      Jason <jhelfman@e-e.com>
To:        Marwan Sultan <dead_line@hotmail.com>
Cc:        freebsd@edvax.de, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: After freebsd-update - all went wrong.
Message-ID:  <20100112041017.GB49210@jason-helfmans-macbook-pro.local>
In-Reply-To: <SNT103-W26FDC0D64F34935E60F92C9A7F0@phx.gbl>
References:  <SNT103-W22C4196E499B9971E193AE9A7F0@phx.gbl> <20091224144648.cc5d8ba1.freebsd@edvax.de> <SNT103-W3264387867388F87CD3BEE9A7F0@phx.gbl> <20091224153544.d8485e6a.freebsd@edvax.de> <SNT103-W26FDC0D64F34935E60F92C9A7F0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 24, 2009 at 03:47:51PM +0000, Marwan Sultan thus spake:
>
>  This is a lesson for me and everyone to never run freebsd-update on a custom kernel
>

I run FreeBSD on a custom kernel, and do binary updates. However, I can do
this because I run my own update server. So all kernels are rebuilt and
distributed.

It can be done. The power of FreeBSD!

>- Marwan Sultan
>
>  System Administrator
>
>> Date: Thu, 24 Dec 2009 15:35:44 +0100
>> From: freebsd@edvax.de
>> To: dead_line@hotmail.com
>> CC: freebsd-questions@freebsd.org
>> Subject: Re: After freebsd-update - all went wrong.
>>
>> On Thu, 24 Dec 2009 14:06:48 +0000, Marwan Sultan <dead_line@hotmail.com> wrote:
>> > well, I have fixed problem two by installing back my custom kernel.
>> > but the system still ignores the "defaultroute" command in rc.conf
>> > this is why we have manuly added to the rc.local
>>
>> Is this possibly a spelling error? The setting in rc.conf
>> is defaultrouter="..." - routeR.
>>
>>
>>
>> > But eventho it shouldnot touch rc.conf right?
>>
>> Correct. The rc.conf file is one of the few ones that
>> shouldn't be in the scope of freebsd-update or mergemaster
>> (if you update by source).
>>
>>
>> > my rc.local now has
>> >
>> > route add default 66.xx.x.x
>> > ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias
>>
>>
>>
>> > If i take it off, system will not have any defaultroute
>> > anymore although its in rc.conf
>> >
>> > defaultrouter="66.xx.x.x"
>> > hostname="xxxxxx.com"
>> > ifconfig_em0="inet 66.xx.x.x netmask 255.255.255.0"
>>
>> Your setting in rc.conf is spelled correctly (see above).
>>
>> Could you try what happens if you start the inet subsystem
>> manually (/etc/rc.d/netif and /etc/rc.d/routing)? The
>> last one reads defaultrouter="..." from rc.conf.
>>
>> As far as I see, the settings in rc.conf are completely
>> valid, and should work. If this is still the "old" rc.conf
>> (that worked before), the services activated in there
>> should be started, too...
>>
>> You could additionally check /etc/resolv.conf and /etc/hosts
>> for any malformed entries. I think /etc/hosts could be
>> altered / overwritten by freebsd-update?
>>
>>
>>
>>
>> --
>> Polytropon
>> Magdeburg, Germany
>> Happy FreeBSD user since 4.0
>> Andra moi ennepe, Mousa, ...
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 		 	   		
>_________________________________________________________________
>Hotmail: Powerful Free email with security by Microsoft.
>http://clk.atdmt.com/GBL/go/171222986/direct/01/_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100112041017.GB49210>