From owner-freebsd-stable Sun Jun 23 1: 6:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hardtime.linuxman.net (hardtime.linuxman.net [66.147.26.65]) by hub.freebsd.org (Postfix) with ESMTP id BF15D37B400 for ; Sun, 23 Jun 2002 01:06:33 -0700 (PDT) Received: from mortis.over-yonder.net (localhost [127.0.0.1]) by hardtime.linuxman.net (8.11.6/8.11.6) with ESMTP id g5N7BUB15811; Sun, 23 Jun 2002 02:11:31 -0500 Received: by mortis.over-yonder.net (Postfix, from userid 100) id 882F81F02; Sun, 23 Jun 2002 03:06:29 -0500 (CDT) Date: Sun, 23 Jun 2002 03:06:29 -0500 From: "Matthew D. Fuller" To: Paul Herman Cc: "Geoffrey C. Speicher" , freebsd-stable@FreeBSD.ORG, Matt Simerson Subject: Re: bug in pw, -STABLE [patch] Message-ID: <20020623080629.GB40762@over-yonder.net> References: <20020622180011.V80651-100000@sea-incorporated.com> <20020623000216.E37393-100000@mammoth.eat.frenchfries.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020623000216.E37393-100000@mammoth.eat.frenchfries.net> User-Agent: Mutt/1.4i-fullermd.1 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 23, 2002 at 12:47:30AM -0700 I heard the voice of Paul Herman, and lo! it spake thus: > > Keep it simple. Do what you mean. If you want to make changes to > /etc/master.passwd then open(2) /etc/master.passwd with O_EXLOCK. The point being (backing up to the start of the discussion a few months ago) that that doesn't work when master.passwd changes as part of the process. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "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-stable" in the body of the message