From kbhend@dogwood.tyler.wm.edu Wed Mar 26 09:02 CST 1997
Message-Id: 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 26 Mar 1997 09:56:24 -0500
To: dubois@primate.wisc.edu (Paul DuBois)
From: kbhend@dogwood.tyler.wm.edu (Kevin B. Hendricks)
Subject: Re: mklinux-setup-d V2 #36

Here are the problems I had when upgrading to shared libs.

- make sure you are running the very very latest kernel to prevent problems.
   There seems to be a virtual memory problem with mklinux that shows
   up in ugly ways if you don't have the latest wip kernel installed


- if you are running mklinux, do not install the kernel sources rpm package
  (although I think the kernel headers are fine).  Get the kernel sources
  (and headers) from the mklinux (vmlinux) source files given in each update

- problem with rpm not working
     solution: remove everything but packages.rpm in var/lib/rpm and then
     run the following commands:
     rpm --initdb
     rpm --rebuilddb

- problem with new rpm packages not replacing completely old rpm packages
    solution: use rpm to remove the package first and then force
    install it.  I did this with gcc related rpms and emacs related rpms
    since I found duplicate libgcc.a hanging around and causing trouble.

- problem with some shared libs not being found
    solution: set /etc/ld.so.conf to
    /lib
    /usr/lib
    /usr/X11/lib
    /usr/local/lib

    and then run ldconfig -v
    Also remind users to re-run ldconfig -v after installing any new
    shared libs

- serious problem with installing shared lib verion of sysvinit on some machines
  prevents rebooting, no known workarounds.  Hardware dependencies?

- also unless people are comfortable editing /etc/rc.d/rcx.d/ files then be
  careful installing the following shared lib rpms
  procps, SysVinit, NetKit, vixie-cron, portmap, yp*, ssh*, lpr*
  or any other network demon program.  You can easily end up with multiple
  portmaps, lpds, crons, running unless you can fix them manually

- also be careful installing the bash shared lib version when in bash.  It
  seems to cause problems on some machines.  Remind them to use the chsh
  command first to preventy problems with not all of bash being replaced
  properly.



These are all of the problems I have run into.  The problem with virtual
memory on mklinux is a serious one thatn can cause a complete inability to
reboot.  After re-installing DR2.1 6 times, I  moved to linux-pmac which
seems more stable.  I think the latest mklinux kernel and server fixes that
problem, but please recommend strongly a complete backup if at all possible
before the upgrade to shared libs

Kevin Hendricks
kbhend@dogwood.tyler.wm.edu