From owner-freebsd-current Sun Jan 10 09:48:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA16902 for freebsd-current-outgoing; Sun, 10 Jan 1999 09:48:05 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16871 for ; Sun, 10 Jan 1999 09:48:02 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.1/8.9.1) id JAA86041; Sun, 10 Jan 1999 09:47:27 -0800 (PST) (envelope-from dillon) Date: Sun, 10 Jan 1999 09:47:27 -0800 (PST) From: Matthew Dillon Message-Id: <199901101747.JAA86041@apollo.backplane.com> To: Jos Backus Cc: freebsd-current@FreeBSD.ORG Subject: Re: Two seem-to-be bugs with 3.0-SNAP Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> >`pw user add' and `pw user mod' hang at the point of executing > :>/usr/sbin/pwd_mkdb -C /etc/master.passwd : :Fixed by : :davidn 1999/01/08 02:52:39 PST : : Modified files: : usr.sbin/pw pw.c : Log: : Remove bogus file locking in main(). : : Revision Changes Path : 1.11 +1 -13 src/usr.sbin/pw/pw.c : :-- :Jos Backus _/ _/_/_/ "Reliability means never :Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; Ah, I missed that one. pwd_mkdb was earlier modified to do locking (which it didn't do before). So now that it does, programs that use it shoulds either use pwd_mkdb's -N option so they can hold their own lock all the way through, or not hold a lock. -Matt Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications & God knows what else. (Please include original email in any response) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message