From owner-freebsd-bugs@FreeBSD.ORG Sat Aug 16 02:41:41 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD11D1065687; Sat, 16 Aug 2008 02:41:41 +0000 (UTC) (envelope-from mpope@teksavvy.com) Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8884E8FC17; Sat, 16 Aug 2008 02:41:41 +0000 (UTC) (envelope-from mpope@teksavvy.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMBAJPbpUhFHOS9/2dsb2JhbAAIJK0zCYYVgVc X-IronPort-AV: E=Sophos;i="4.32,220,1217822400"; d="scan'208";a="25556661" Received: from mbpesecurity.com (HELO [192.168.111.174]) ([69.28.228.189]) by ironport2-out.teksavvy.com with ESMTP; 15 Aug 2008 22:41:39 -0400 Message-ID: <48A63E50.304@teksavvy.com> Date: Fri, 15 Aug 2008 22:41:20 -0400 From: Matthew User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd-bugs@freebsd.org References: <48A4CC0F.1090304@teksavvy.com> <48A5F419.1030208@teksavvy.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kris Kennaway , Randy Schultz , cperciva@freebsd.org Subject: RECOVERY-FROM: kern/120733: libbsm.so.1 missing after upgrading to 6.3-RELEASE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 02:41:41 -0000 I recovered my 6.3-RELEASE installation (from the kern bug) with a hint from this freebsd-stable posting: http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028450.html where a user was in the same state of missing the libbsm.so.1 (but not from the kern bug). From there I learned buildworld got him into a better state, but still his sshd was busted. So I rebuilt the kernel and did a buildworld and my 6.3-RELEASE is now fixed. For the next user afflicted by kern/120733, this is what I did: ## FROM /usr/src/UPDATING: ## General Notes: To Just Build a kernel when you know that it won't mess you up # cd /src/sys/${arch}/conf # config GENERIC <-- this emits msg with the undocumented, extra cleandepend step # cd ../compile/GENERIC # make cleandepend # make depend # make # make install Since my 6.3-RELEASE repair from kern/120733 had no recipe in UPDATING I did my buildworld adapting from Section 23.4.1 of Handbook: The Canonical Way to Rebuild your System # reboot (to singleuser mode) ## THESE 2 WERE NOT DOCUMENTED: # mount -u -w /dev/ad0s2a / [ change / to rw ] # [ mount: /tmp, /var, /usr, /proc for PATH and whatever else might need these partitions ] # make buildworld # mergemaster -p # make installworld # mergemaster # reboot > On Fri, 15 Aug 2008, Matthew spaketh thusly: > > -}Hi Randy, > -}Thanks for your quick response. I just need to verify, was your 6.3-RELEASE > -}system in the disabled state, i.e. suffering kern120733 when you followed the > -}freebsd-update.sh instructions in that link, or was it working just fine. > > Heh. I really don't remember. Sorry dude. The system was at 6.2, I took it > to 6.3 then immediately to 7.0. > > I would expect that if you can get your system up to the point that it's > online, even if just in single-user, that the upgrade will help because it > installs all new libs and such. YMMV, have good backups, etc. ;> > > -}Thanks, > -}Matthew > -}> On Thu, 14 Aug 2008, Matthew spaketh thusly: > -}> > -}> -} > -}> -}Are you (or is anyone) aware of any way to upgrade to 7.0 from the > -}> 6.3-RELEASE > -}> -}installation in this disabled state, i.e. without having to do a fresh 7.0 > -}> -}install and a manual port all my application configurations? (Given what > -}> -}happened when I followed the best documentation around, I'm reluctant to > -}> -}experiment.) > -}> > -}> I've used this successfully: > -}> http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ > -}> > -}> -- > -}> Randy (schulra@earlham.edu) 765.983.1283 <*> > -}> > -}> Love with your heart, think with your head; not the other way around. > -}> > -}> > -}> > > -- > Randy (schulra@earlham.edu) 765.983.1283 <*> > > Love with your heart, think with your head; not the other way around. > > >