From owner-freebsd-hackers Sat May 4 21:43:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from draco.over-yonder.net (draco.over-yonder.net [198.78.58.61]) by hub.freebsd.org (Postfix) with ESMTP id 1532537B425 for ; Sat, 4 May 2002 21:43:17 -0700 (PDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 6E5CAFC4; Sat, 4 May 2002 23:43:17 -0500 (CDT) Date: Sat, 4 May 2002 23:43:17 -0500 From: "Matthew D. Fuller" To: Jeff Jirsa Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: bug in pw, freebsd 4.5 Message-ID: <20020504234317.A21048@over-yonder.net> References: <20020502173110.B22449@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5-fullermd.1i In-Reply-To: ; from jjirsa@odin.ac.hmc.edu on Thu, May 02, 2002 at 03:38:47PM -0700 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 02, 2002 at 03:38:47PM -0700 I heard the voice of Jeff Jirsa, and lo! it spake thus: > > Feel free to correct me if I'm wrong, but /var/run seems like the more > logical answer. Read-only / filesystems would have a hard time creating > temp lock files in /etc. If nothing else, make it something that's > easily configurable to avoid problems with read only filesystems. Well, read-only / filesystems would have a hard time creating /etc/master.passwd.new in the middle of pw's actions, too :) /var/run isn't a perfect choice, but it doesn't seem a bad one, and there's rather a bit of precedent for using it for state files, which I'd call a lock file (PID files, Apache stores some state, log/named sockets, etc). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Unix Systems Administrator | fullermd@futuresouth.com Specializing in FreeBSD | http://www.over-yonder.net/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message