Subject: pkg/5563: pkg_add removes all file in /usr during error recovery
To: None <gnats-bugs@gnats.netbsd.org>
From: None <waddell@caravan.com>
List: netbsd-bugs
Date: 06/09/1998 22:49:36
>Number:         5563
>Category:       pkg
>Synopsis:       pkg_add removes all file in /usr during error recovery
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun  9 22:50:00 1998
>Last-Modified:
>Originator:     Harry W. Waddell
>Organization:
Caravan Electronic Publishing
>Release:        NetBSD 1.3.2
>Environment:
System: NetBSD omar 1.3.2 NetBSD 1.3.2 (OMAR) #0: Fri Jun 5 01:46:26 PDT 1998 waddell@omar:/proj/src/sys/arch/i386/compile/OMAR i386


>Description:
	If pkg_add of a binary distribution encounters a problem, i.e. user 
	attempts to cntrl-c the process after a file system fills up, it 
	deletes the contents of /usr during it's 'cleanup'.

>How-To-Repeat:
	pkg_add args
	cntrl-c during install
	
	This has only happened once, and I have not attempted to duplicate it 
	for obvious reasons. Jason Thorpe told me that it was a known, 
	but not logged, bug.
>Fix:
	none known.
>Audit-Trail:
>Unformatted: