From owner-freebsd-current Fri Sep 27 03:17:34 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA04562 for current-outgoing; Fri, 27 Sep 1996 03:17:34 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA04524 for ; Fri, 27 Sep 1996 03:17:28 -0700 (PDT) Received: from mail.cdsnet.net by agora.rdrop.com with smtp (Smail3.1.29.1 #17) id m0v6Zz4-0008tYC; Fri, 27 Sep 96 03:17 PDT Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by mail.cdsnet.net (8.6.12/8.6.12) with ESMTP id DAA22363; Fri, 27 Sep 1996 03:13:32 -0700 Date: Fri, 27 Sep 1996 03:13:29 -0700 (PDT) From: Jaye Mathisen To: Seppo Kallio cc: current@FreeBSD.org Subject: Re: Problems with useradd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Yes, I think there is some faulty file-locking going on here with the various utilities. It's trivial to reproduce, just get a few passwd/vipw/chfn's/addusers going at once, and kaboom, this message. So far I've always been able to just remove the master.passwd.orig, and everything is still there, but it sucks the big one On Fri, 27 Sep 1996, Seppo Kallio wrote: > Date: Fri, 27 Sep 1996 12:51:21 +0300 (EET DST) > From: Seppo Kallio > To: current@FreeBSD.org > Subject: Problems with useradd >=20 >=20 >=20 > In useradd I am getting error >=20 > ``pwd_mkdb -p'' failed, try to restore ... > pwd_mkdb: /etc/spwd.db.tmp: File exists > Sorry, give up >=20 > And when trying again, error message >=20 > pwd_mkdb: /etc/master.passwd.orig: File exists >=20 >=20 > The reason is clear: someone is changing passwd or some other way using > pwd_mkdb. >=20 >=20 > Seppo Kallio=09=09=09=09kallio@jyu.fi > Computing Center=09=09=09Fax +358-14-603611 > U of Jyv=E4skyl=E4=09=0962.14N 25.44E=09Phone +358-14-603606 > PL 35, 40351 Jyv=E4skyl=E4, Finland=09=09http://www.jyu.fi/~kallio >=20