Subject: Re: pkg_add nuked my system and I'm going nuts
To: Anders \"ali\" Lindgren <ali@h543.sparta.lu.se>
From: Hubert Feyrer <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
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 <hubert.feyrer@rz.uni-regensburg.de>