Subject: Re: on not shooting yourself in the foot during upgrade.. (PATH=/rescue:$PATH)
To: George Michaelson <ggm@apnic.net>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 03/19/2007 09:58:03
--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Mar 19, 2007 at 03:19:10PM +1000, George Michaelson wrote:
>=20
> I am probably very confused, but I don't understand why /bin/sh
> and /sbin/init depend on the shared libs, but didn't die during the
> upgrade. Is there something special about their COW state or something
install unlinks the old file then writes a new one. Thus /bin/sh and=20
/sbin/init are using the old, unmodified versions of the relevant libs.
cp copies, and as such will overwrite the running executable. Explosions
then happen.
Take care,
Bill
--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iD8DBQFF/s8rWz+3JHUci9cRAoq6AJ9vLSE6KHas4q1qRaAcXoj4DKI5UACfRBH0
IOPfgPiTZNke3yI+XT0zb7Q=
=8bNq
-----END PGP SIGNATURE-----
--jI8keyz6grp/JLjh--