Package: extlinux
Version: 2:4.02+dfsg-7
Severity: important
Tags: squeeze

update-extlinux script modifies boot-related files in unsafe ways,
which is a "good" way to make system unbootable: it re-creates
several files in /boot/extlinux/ by zeroing the content at start
and adding information to them piece by piece.  In case of a power
failure during this time, the system will be unbootable.  We're
talking about the need to perform f(data)sync() on important files
to ensure data integrity, but this case is much more important
since it affects whole system, but here, file manipulation is
much less safe than just omitting fsync.

The rigth way to create these files is to create a temp file first,
and when it's done, rename it into place atomically.



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