Skip site navigation (1)Skip section navigation (2)
Date:      08 Apr 2006 09:31:11 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [semi-SOLVED] Re: Login broken and rc.conf variables suddenly invalid after kernel/world upgrade (?!?!)
Message-ID:  <441ww8i480.fsf@be-well.ilk.org>
In-Reply-To: <44370C6E.5050702@u.washington.edu>
References:  <820FAFD6-ED04-41BE-A0C6-209980A7B376@u.washington.edu> <20060407080957.351b13b0.wmoran@collaborativefusion.com> <Pine.A41.4.64.0604070948530.155262@dante76.u.washington.edu> <4436A3C4.5020505@u.washington.edu> <44acaxp918.fsf@be-well.ilk.org> <4436BCE0.402@u.washington.edu> <44370C6E.5050702@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper <youshi10@u.washington.edu> writes:

> Garrett Cooper wrote:
> > Lowell Gilbert wrote:
> >
> >> Garrett Cooper <youshi10@u.washington.edu> writes:
> >>
> >>
> >>> By the way, I also ran mergemaster as shown above. I forgot to
> >>> originally include that.
> >>>
> >>
> >> Did you also forget to mention building and installing the new kernel
> >> before the reboot?  If you actually left that step out, it would
> >> explain much of your trouble.
> >>
> >>
> > Yes, I forgot to include that as well. I did that prior to building
> > and installing world (and I don't think that would have interfered
> > since the kernel is a standalone deal I thought).

It's not, and never has been.  The documented and officially supported
upgrade path is:


	<make sure you have good level 0 dumps>
	make buildworld
	make kernel KERNCONF=YOUR_KERNEL_HERE
							[1]
	<reboot in single user>				[3]
	mergemaster -p					[5]
	make installworld
	make delete-old
	mergemaster					[4]
	<reboot>

For other procedures, you're on your own.

> Well, I restored a backup of my /etc/ directory and now things appear
> to work again (not sure about bash, but the rest works like a
> charm). Going to stick to csh and try and make a smarter
> buildworld/system sync checking script because I think that the root
> of all the problems was the fact that the sources may have been
> cvsup'ed while I was building world originally, hence the makefile and
> quite a few things may have changed during the build.

Well, yes, that could be a problem.  To say the least.



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