Bug 28950

Summary: vinum uses the lock directory hierarchy inconsistent with FreeBSD
Product: Base System Reporter: ahd <ahd>
Component: binAssignee: Greg Lehey <grog>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   

Description ahd 2001-07-13 20:20:01 UTC
	vinum uses /var/lock (no subdirectory) for its lock files,
	which is inconsistent with other components in the FreeBSD
	environment and non-descriptive (I had to run fstat to
	determine the owning program).

	(This also screws up muscle memory for those us of used to
	looking at FreeBSD logs with tcsh via "cd /var/l<TAB>"

	I would suggest the files should be under /var/db/vinum or
	/var/spool/lock/vinum (or another directort with vinum as
	the last component), but not at the root of the /var
	directory and not without vinum in the name.

Fix: 

Move the directory.
How-To-Repeat: 
	Start vinum on a FreeBSD system.
Comment 1 dwmalone freebsd_committer freebsd_triage 2001-07-14 23:03:01 UTC
Responsible Changed
From-To: freebsd-bugs->grog

Vinum is grog's.
Comment 2 Greg Lehey freebsd_committer freebsd_triage 2001-07-15 02:14:01 UTC
State Changed
From-To: open->feedback

Waiting for feedback from submitter.
Comment 3 Greg Lehey freebsd_committer freebsd_triage 2001-07-15 02:17:01 UTC
On Friday, 13 July 2001 at 15:13:25 -0400, ahd@kew.com wrote:
>
>> Number:         28950
>> Category:       bin
>> Synopsis:       vinum uses the lock directory hierarchy inconsistent with FreeBSD
>> 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:   Fri Jul 13 12:20:01 PDT 2001
>> Closed-Date:
>> Last-Modified:
>> Originator:     Drew Derbyshire
>> Release:        FreeBSD 4.3-RELEASE i386
>> Organization:
> Kendra Electronic Wonderworks, Stoneham MA 02180 (http://www.kew.com)
>> Environment:
> System: FreeBSD minerva.hh.kew.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Jun 23 09:50:15 EDT 2001 root@:/usr/scratch/obj/usr/src/sys/MINERVA i386
>
> Machine is using vinum for mirroring drives
>
>> Description:
>
> 	vinum uses /var/lock (no subdirectory) for its lock files,
> 	which is inconsistent with other components in the FreeBSD
> 	environment and non-descriptive (I had to run fstat to
> 	determine the owning program).
>
> 	(This also screws up muscle memory for those us of used to
> 	looking at FreeBSD logs with tcsh via "cd /var/l<TAB>"
>
> 	I would suggest the files should be under /var/db/vinum or
> 	/var/spool/lock/vinum (or another directort with vinum as
> 	the last component), but not at the root of the /var
> 	directory and not without vinum in the name.

This PR confuses me.  Vinum does not create lock files.  Can you
explain what makes you think that these files come from Vinum?

--
See complete headers for address and phone numbers
Comment 4 Greg Lehey freebsd_committer freebsd_triage 2001-07-16 04:12:19 UTC
State Changed
From-To: feedback->closed

Closed as per submitter's request.  This is not a Vinum problem.