On Tue, Jul 14, 2009 at 1:55 PM, Sandro Tosi<mo...@debian.org> wrote:
> On Tue, Jul 14, 2009 at 12:02, Thibaut VARENE<vare...@debian.org> wrote:

>> What filesystem are you using on /var?
>
> xfs

XFS zeroes inconsistent files after a crash/power loss.

>> This has been said before, it's not a grave bug report as it doesn't
>> render the software useless (it works perfectly well under "normal"
>> use conditions, and no, a power failure is *not* a normal use
>> condition).
>
> sure, in the ideal situation where power goes never off, everyone has
> an UPS, and laptop batteries has always some charge left to save your
> unsaved work.

In the ideal situation where people understand how their filesystem
works and the consequences of choosing this filesystem over that one
given their environment setup (risk of power loss/crash, quality of
RAM, UPS, backup battery on the controller, etc), uptimed works just
fine.

I guess I'll suggest a patch to the upstream author to work around the
case where the main db has been zeroed out, something along the lines
of "if the filesize of the main db is < filesize of the backup db, use
the backup db"

T-Bone

-- 
Thibaut VARENE
http://www.parisc-linux.org/~varenet/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to