Subject: Re: pkg_add nuked my system and I'm going nuts
To: Anders \"ali\" Lindgren <ali@h543.sparta.lu.se>
From: Eivind Eklund <eivind@yes.no>
List: tech-pkg
Date: 07/08/1998 11:09:06
On Tue, Jul 07, 1998 at 09:44:19PM +0200, Anders "ali" Lindgren wrote:
> What pkg_add was doing was this (as root):
> 
> rm -rf /
> 
> Now I have to reinstall the entire setup. I can no longer boot.
> 
> I have no clue why pkg_add would do something as wacky as that,
> but I consider this a serious bug. I'm tired. Good night. ;-(

This is due to a race condition with the signal handler.  The most
serious cases are fixed in FreeBSD, but there are still some left :-(

Eivind.