[Pkg-sysvinit-devel] Bug#486258: Acknowledgement (sysvinit: Make scheduled fscks more user-friendly)

David wizzardx at gmail.com
Sun Jun 22 15:04:17 UTC 2008


With regards to being able to interrupt scheduled root partition fsck,
the e2fsprogs maintainer (Theodore Tso) said I should try setting the
allow_cancellation option in /etc/e2fsck.conf

I tried that, but hitting Ctrl+C during the root filesystem scan still
left the root partition read-only.

I tested a e2fsck from the command-line, and fsck (with the option
set) does handle Ctrl+C properly (prints an Interrupted message and
exits with a 0 return code)

So it looks like sysvinit is incorrectly handling Ctrl+C. I assume it
does something like this: Run the init script for root fsck in the
background, and when Ctrl+C is hit, the script is terminated (along
with fsck), and the root filesystem is left readonly.

Let me know if I can provide any more info.

David.





More information about the Pkg-sysvinit-devel mailing list