Date: Sat, 11 May 2002 17:41:03 -0400 (EDT) From: Robert Watson <rwatson@freebsd.org> To: Galen Sampson <galen_sampson@yahoo.com> Cc: current@freebsd.org Subject: RE: pam su Message-ID: <Pine.NEB.3.96L.1020511173813.69160Z-100000@fledge.watson.org> In-Reply-To: <20020511213532.61405.qmail@web14106.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 May 2002, Galen Sampson wrote: > > > Don't mergemaster until after you've installworld'd. > > > > Yeah, I bumped into this on the TrustedBSD branch lately also. It goes > > side by side with the "don't installworld until you mergemaster" rule. > > And the very basic rule which is "Don't run -CURRENT unless you not only > > want to shoot your feet, but have hot spares so you can shoot them with a > > lower recovery time". > > All is well now. It turns out I ran the following sequence: buildworld > (failed), buildworld -DNO_WERROR, shutdown now, buildkernel -DNO_WERROR, > installkernel, installworld, shutdown -r now (su error after reboot), > mergemaster (still error), and after a restart all was well. > > Don't mind shooting myself in the feet...just interested in the > development process of large projects. I'm a senior CS major graduating > in June. This is just a hobby. Yeah, part of the gist of my message was that occasionally, there's no "right" upgrade path, you just have to slog through until your system appears to run normally again :-). Occasionally there are cycles of dependencies for upgrades -- you need a new users to install the files, but you don't get the new user until you run mergemaster. Or, you need a new binary to install a file via mergemaster, but you can't install the binary until mergemaster has created the config file for it. Last night I shot myself in the feet on my notebook by upgrading it to a recent -CURRENT with the trustedbsd_mac branch. The binary format for MAC labels changed, so init wouldn't exec, so the system would panic. If I booted the old kernel, because world was upgraded, all binaries setting credentials seg-faulted. Good stuff, experimental code. :-). Fortunately, it usually doesn't work out this way. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020511173813.69160Z-100000>