From owner-freebsd-stable Sat Dec 7 21:43: 5 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 6C78C37B401 for ; Sat, 7 Dec 2002 21:43:04 -0800 (PST) Received: from smtp-relay.omnis.com (smtp-relay.omnis.com [216.239.128.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACA8643EC5 for ; Sat, 7 Dec 2002 21:43:03 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (dslpool2-019.networldnoc.net [209.63.227.179]) by smtp-relay.omnis.com (Postfix) with ESMTP id F1F4342EE6; Sat, 7 Dec 2002 21:42:52 -0800 (PST) Message-ID: <3DF2DC28.21C1511B@softweyr.com> Date: Sat, 07 Dec 2002 21:44:08 -0800 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Geoffrey C. Speicher" Cc: Don Bowman , "'freebsd-stable@freebsd.org'" Subject: Re: pw useradd not atomic? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 "Geoffrey C. Speicher" wrote: > > 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. If your patch fixes the problem, have you replied to the PR with it? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message