Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2008 22:41:20 -0400
From:      Matthew <mpope@teksavvy.com>
To:        freebsd-bugs@freebsd.org
Cc:        Kris Kennaway <kris@FreeBSD.org>, Randy Schultz <schulra@earlham.edu>, cperciva@freebsd.org
Subject:   RECOVERY-FROM: kern/120733: libbsm.so.1 missing after upgrading to 6.3-RELEASE
Message-ID:  <48A63E50.304@teksavvy.com>
In-Reply-To: <Pine.BSF.4.64.0808151731330.96773@tdream.lly.earlham.edu>
References:  <48A4CC0F.1090304@teksavvy.com> <Pine.BSF.4.64.0808150812370.96773@tdream.lly.earlham.edu> <48A5F419.1030208@teksavvy.com> <Pine.BSF.4.64.0808151731330.96773@tdream.lly.earlham.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
   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.
>
>
>   




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