Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 1998 22:40:02 -0700 (PDT)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/8276: samba's WINS database gets removed during system startup
Message-ID:  <199810130540.WAA18183@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/8276; it has been noted by GNATS.

From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: narvi@haldjas.folklore.ee (Narvi)
Cc: andre.albsmeier@mchp.siemens.de, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/8276: samba's WINS database gets removed during system startup
Date: Tue, 13 Oct 1998 07:39:27 +0200 (CEST)

 > > >How-To-Repeat:
 > > 
 > > Install samba with WINS support, wait until the database fills up,
 > > reboot. ls -l /var/spool/lock/wins.dat.
 > > 
 > > >Fix:
 > > 	
 > > Let LOCKDIR point somewhere else, e.g. /var/db
 > > 
 > 
 > While the problem is there, the fix is probably wrong *if* samba actually
 > uses the LOCKDIR for locks (we want to have locks cleaned off during
 > reboot) - which it does on cursory examination.
 > 
 > The right fix is to change samba to use a different directory for the .dat
 > files only, leaving the LOCKS in /var/spool/lock
 
 
 In this case you are right, of course. Let's see what we have got
 in /var/spool/lock:
 
 root@linkfix:/var/spool/lock>ll
 total 41
 -rw-r--r--  1 root  dialer  - 102400 Oct  9 09:58 SHARE_MEM_FILE
 -rw-r--r--  1 root  dialer  -      8 Oct  9 09:58 SHARE_MEM_FILE.processes
 -rw-r--r--  1 root  dialer  -    200 Oct  8 09:53 STATUS..LCK
 -rw-r--r--  1 root  dialer  -    286 Oct 13 07:32 browse.dat
 -rw-r--r--  1 root  dialer  -  13912 Oct 13 07:34 wins.dat
 
 I assume the two .dat files are the ones to go somewhere else, as you
 said. Do you think /var/db would be appropriate?
 
 	-Andre

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810130540.WAA18183>