Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 1997 20:00:55 GMT
From:      Adam David <adam@veda.is>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4202: pwd_mkdb trashes .db
Message-ID:  <199707312000.UAA02655@ubiq.veda.is>
Resent-Message-ID: <199707312010.NAA00232@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707312000.UAA02655>