From owner-freebsd-bugs Thu Jul 31 13:10:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA00238 for bugs-outgoing; Thu, 31 Jul 1997 13:10:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA00232; Thu, 31 Jul 1997 13:10:04 -0700 (PDT) Resent-Date: Thu, 31 Jul 1997 13:10:04 -0700 (PDT) Resent-Message-Id: <199707312010.NAA00232@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, adam@veda.is Received: from veda.is (root@veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA29500 for ; Thu, 31 Jul 1997 13:01:01 -0700 (PDT) Received: from ubiq.veda.is (adam@ubiq.veda.is [193.4.230.60]) by veda.is (8.8.6/8.8.5) with ESMTP id UAA07250 for ; Thu, 31 Jul 1997 20:00:58 GMT Received: (from adam@localhost) by ubiq.veda.is (8.8.6/8.8.5) id UAA02655; Thu, 31 Jul 1997 20:00:55 GMT Message-Id: <199707312000.UAA02655@ubiq.veda.is> Date: Thu, 31 Jul 1997 20:00:55 GMT From: Adam David Reply-To: adam@veda.is To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4202: pwd_mkdb trashes .db Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4202 >Category: bin >Synopsis: pwd_mkdb trashes .db >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 31 13:10:02 PDT 1997 >Last-Modified: >Originator: Adam David >Organization: Veda Internet >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD >Description: pwd_mkdb trashes spwd.db when the root partition is full. this is not acceptable behaviour, it should fail gracefully. >How-To-Repeat: (almost) fill the root partition and add a user. >Fix: a) don't do that b) move the old database files out of the way and move them back if we fail. >Audit-Trail: >Unformatted: