Subject: Re: pkg_add nuked my system and I'm going nuts
To: Anders \"ali\" Lindgren <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 07/08/1998 00:40:02
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 <>