From owner-freebsd-stable Sat Dec 7 9:40:13 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 689E837B401 for ; Sat, 7 Dec 2002 09:40:12 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D90143E4A for ; Sat, 7 Dec 2002 09:40:08 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sat, 7 Dec 2002 12:40:07 -0500 Message-ID: From: Don Bowman To: "'Geoffrey C. Speicher'" , Don Bowman Cc: "'freebsd-stable@freebsd.org'" Subject: RE: pw useradd not atomic? Date: Sat, 7 Dec 2002 12:40:06 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 From: Geoffrey C. Speicher [mailto:geoff@speicher.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 Thanks very much, that was exactly the problem, I've applied the patch given in the PR. --don (don@sandvine.com www.sandvine.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message