Red Hat Bugzilla – Bug 628
Last modified: 2008-05-01 11:37:48 EDT
Here's something to get your "panties in a bunch"--with a
root filesystem at 100+% used, with NO spare bytes to write
a one-block file (nevermind what your block size is):
0. login as root
1. change root password
2. see /etc/passwd become zero-bytes
Need I say more? Can't /usr/bin/passwd do some sanity
checks on the bytes free on the root partition BEFORE it
goes changing passwords?
Just an idea.
WinSite Group, Inc.
I was unable to replicate this bug in the test lab. The passwd command
generates the error:
passwd: Critical error - immediate abort
but it does not zero out the passwd file. After space is freed it
works fine again.