FS#17603 - [initscripts] On boot after improper shutdown, no automatic device check any more
Attached to Project:
Arch Linux
Opened by scippio (scippio) - Friday, 25 December 2009, 12:23 GMT
Last edited by Tom Gundersen (tomegun) - Monday, 28 March 2011, 12:32 GMT
Opened by scippio (scippio) - Friday, 25 December 2009, 12:23 GMT
Last edited by Tom Gundersen (tomegun) - Monday, 28 March 2011, 12:32 GMT
|
Details
Description:
On boot after improper shutdown, no automatic device check any more Additional info: citation: "Several times I have to shut down with the hardware because of the f**king intel driver freezing the X server. Until a few days ago, at boot time the / device was automatically checked, but now I just get "enter root password for maintenance" and I have to rum fsck by hand (and sometimes fsck does it in no time without any interaction from me), and reboot again. Why isn't the device check automatically forced any more? Can I fix that? Thank you very much in advance." Steps to reproduce: improper reboot... |
This task depends upon
Closed by Tom Gundersen (tomegun)
Monday, 28 March 2011, 12:32 GMT
Reason for closing: Not a bug
Additional comments about closing: See my last comment.
Monday, 28 March 2011, 12:32 GMT
Reason for closing: Not a bug
Additional comments about closing: See my last comment.
- File system errors left uncorrected (4)
- Operational error (8)
- Usage or syntax error (16)
- Shared library error (128)
If any of those errors occurs combined with 'System should be rebooted' (2), the system is automatically rebooted. As far as I can see it (if we believe the fsck manpage), we are acting correctly in each case. I admit the code could be less confusing though.
Without knowledge of the exact return code from fsck, there is no way to find out what the problem might be.
If you think fsck is returning the wrong error codes, then please report this upstream (as we will not add workarounds to second-guess what they decide).