From sec@42.org  Sat Feb 26 22:32:47 2005
Return-Path: <sec@42.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ABD6616A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Feb 2005 22:32:47 +0000 (GMT)
Received: from ice.42.org (ice.42.org [194.77.3.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2D7F343D5D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Feb 2005 22:32:47 +0000 (GMT)
	(envelope-from sec@42.org)
Received: by ice.42.org (Postfix, from userid 1000)
	id F35B154D3; Sat, 26 Feb 2005 23:32:45 +0100 (CET)
Message-Id: <20050226223245.F35B154D3@ice.42.org>
Date: Sat, 26 Feb 2005 23:32:45 +0100 (CET)
From: Stefan `Sec` Zehl <sec@42.org>
Reply-To: Stefan `Sec` Zehl <sec@42.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gbde "destroy" not working.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         78131
>Category:       bin
>Synopsis:       gbde(8) "destroy" not working.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-geom
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 26 22:40:14 GMT 2005
>Closed-Date:    
>Last-Modified:  Sat May 24 23:09:00 UTC 2008
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD elvis 5.3-STABLE FreeBSD 5.3-STABLE #3: Fri Jan 28 12:50:59 CET 2005     root@elvis:/usr/obj/usr/src/sys/ELVIS  i386


	
>Description:

"gbde destroy" does not work if you keep the lock-sector on the disk.

>How-To-Repeat:

# Create gbde

elvis:~#gbde init /dev/da1s1a
Enter new passphrase:
Reenter new passphrase:

# Try to destroy it

elvis:~#gbde destroy /dev/da1s1a
Enter passphrase:
Opened with key 0
gbde: No -L option and no space in sector 0 for lockfile

# I can still attach it

elvis:~#gbde attach /dev/da1s1a;l /dev/da1s1a.bde
Enter passphrase:
crw-r-----  1 root  operator    4,  55 Jan 28 15:16 /dev/da1s1a.bde

>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-geom 
Responsible-Changed-By: arved 
Responsible-Changed-When: Tue Jun 7 17:22:25 GMT 2005 
Responsible-Changed-Why:  
over to GEOM Mailinglist 

http://www.freebsd.org/cgi/query-pr.cgi?pr=78131 
>Unformatted:
