Package: initrd-tools
Version: 0.1.81.1
Severity: minor

/etc/init.d/initrd-tools.sh runs at S:S05initrd-tools.sh before the
root filesystem has been remounted read-write at S10checkroot.sh.
All the umount commands in the script should include the "-n" option
so that there is no attempt to write the mtab file at this stage.
umount proceeds despite failure to open mtab for writing, but this
behavior of the current umount program should not be relied upon.

[EMAIL PROTECTED]:/mnt/hda6/etc/rcS.d$ grep umount S05initrd-tools.sh
        trap 'umount -n /proc' EXIT
        umount /initrd/dev || exit
umount /initrd || exit

-- 
Thomas Hood




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to