Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 20:56:49 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Eric Anderson <anderson@centtech.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: portupgrade system destruction? SOLVED
Message-ID:  <20050105045649.GA77187@xor.obsecurity.org>
In-Reply-To: <41DB51F3.4010706@centtech.com>
References:  <41DA0AB8.3080400@centtech.com> <20050104041859.GA56168@xor.obsecurity.org> <41DA1B2B.5080504@centtech.com> <20050104043510.GA56556@xor.obsecurity.org> <41DB51F3.4010706@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 04, 2005 at 08:33:23PM -0600, Eric Anderson wrote:

> For those that are curious - what happened was the night before, I=20
> installed a new port, but needed to change $PREFIX to a user's home area=
=20
> to set the port up in that particular spot.  As expected, that went=20
> uneventfully. The next morning,  I decided to do a portupgrade - and=20
> promptly went about cvsupping my ports, bla bla, and then doing a=20
> portupgrage -arR.  However - I never unset the $PREFIX variable, so each=
=20
> port was being removed from the main system area, then the new port was=
=20
> being installed in a users' home area.  Bash was one of the first to be=
=20
> done, which explains the login errors (/usr/local/bin/bash was removed=20
> from /etc/shells, and it was replaced with=20
> /home/username/usr/local....bash, so my shell in the passwd file no=20
> longer was in /etc/shells file).  The portupgrade continued until some=20
> point when it basically killed itself off.
>=20
> I'm now recovering pieces of the installed packages.
>=20
> :)

Ouch :)

Glad to hear you're getting back on track.

Kris

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFB23ORWry0BWjoQKURAm7ZAJ9UVsVMaftXKtVjNvL2UitBJyOikwCeNoBQ
zQ6rRDZ1zxEOFbuWiAT2Hjs=
=SMn+
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--



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