bin/78131: gbde "destroy" not working.

Stefan `Sec` Zehl sec at 42.org
Sat Feb 26 22:40:15 GMT 2005


>Number:         78131
>Category:       bin
>Synopsis:       gbde "destroy" not working.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>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:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list