Subject: Re: pkg_add nuked my system and I'm going nuts
To: Hubert Feyrer <email@example.com>
From: David Brownlee <firstname.lastname@example.org>
Date: 07/07/1998 15:43:31
Can we put a check in to call abort() if this happens?
Something of a bandaid - but avoiding this is pretty close to
-=- "There will not be a send-off, a funeral or mass" -=-
On Wed, 8 Jul 1998, Hubert Feyrer wrote:
> On Tue, 7 Jul 1998, Anders "ali" Lindgren wrote:
> > What pkg_add was doing was this (as root):
> > rm -rf /
> This happened in pkg_tools/lib/pen.c's leave_playpen() function, the
> "Current" variable there obviously gets set to "/" somehow.
> Maybe someone can debug why/how it gets so far...
> (yes, of course this is some kind of race condition, but ...)
> - Hubert
> Hubert Feyrer <email@example.com>