Lars Hecking said:
> > Recently i patched a Solaris box. All of a sudden /bin/sh users
> > complained their shells acted weird. After some investigation I
> > learned:
> >
> > 1. root's shell is /sbin/sh on Solaris.
> > 2. unlike /bin/sh, /sbin/sh is statically linked.
> > 3. someone had copied over /bin/sh with /usr/local/bin/bash
>> This is a fscking stupid thing to do. Some generous LARTing is called for.
When I adminned in Iona, our Ultrix porting box used to periodically stop
booting every few months, not even running /etc/rc. This was well towards
the end of Ultrix' lifetime so we had a pretty hard time finding a Digital
engineer who could help us out, and it cost $$$, and the hardware (tape
drives, replacement disks, etc.) was well-difficult to find.
About the third or fourth time it happened, we decided not to pay any
attention to the engineer waiting to work on the port, so not restore from
backup straightaway, and instead just sit down and work out exactly *why*
it was happening...
Turned out the engineer was copying, you guessed it, /usr/local/bin/bash
to /bin/sh because /bin/sh was "too crap" for the product test suite or
something. grr. I LARTed like the wind.
Hey BTW forget the chrooted installation stuff! I just upgraded from 5.2
to 6.1 using rpm -Uvh, haven't rebooted yet though ;) Only had to do a
'find' for *.rpm* files to find .rpmsaves etc. and I think I'd probably
have had to do that with a "proper" RedHat upgrade.
--j.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!