From owner-freebsd-stable Fri Dec 6 23:32:15 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9910A37B401 for ; Fri, 6 Dec 2002 23:32:14 -0800 (PST) Received: from speicher.org (sirius.speicher.org [209.74.10.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F22443EA9 for ; Fri, 6 Dec 2002 23:32:13 -0800 (PST) (envelope-from geoff@speicher.org) Received: from localhost (geoff@localhost) by speicher.org (8.11.6/8.11.6) with ESMTP id gB77k2200493; Sat, 7 Dec 2002 02:46:03 -0500 (EST) (envelope-from geoff@speicher.org) Date: Sat, 7 Dec 2002 02:46:02 -0500 (EST) From: "Geoffrey C. Speicher" To: Don Bowman Cc: "'freebsd-stable@freebsd.org'" Subject: Re: pw useradd not atomic? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Fri, 6 Dec 2002, Don Bowman wrote: > Sometimes after this script been run I end up with only the > last few lines of the groups file. > > Is 'pw' not atomic somehow? The lines that are there seem > complete, i'm just missing the first 100 lines or so. Its > not always the same amount missing. This is discussed in bin/38676 in gnats, but there has been no followup since June. This problem bit me more than once by corrupting master.passwd, so I'm running a locally patched version until some kind of fix hits -stable. Geoff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message