Overview: After successfully upgrading from Core 166 to 167 with no apparent errors, I used the GUI option to reboot with a forced filesystem check. The system restarted, but failed during the reboot due to an apparent syntax error in the e2fsck command. The error was reported as an unknown option ’ ', and there did appear to be an extra space immediately after the -p and before the filesystem was specified. I executed the command manually and was able to continue the boot successfully. Steps to reproduce: 1. Run Core 167. 2. From within GUI, select reboot with option for force filesystem check. Actual Results: Reboot stops with e2fsck error (see forum thread mentioned below for screenshots) and leaves user in debug shell. Expected Results: Successful reboot. Build Date & Hardware: IPFire 2.27 (x86_64) - Core Update 167 Forum Thread: See community forum where this bug was reproduced by another user with screenshots: https://community.ipfire.org/t/possible-issue-with-forced-filesystem-check-on-167-upgrade/7681
Addendum: Similar effect after using the command "shutdown -rF now"
This is a bug in dracut which has been updated in c167. Could you please add rd.debug to the kernel command line, boot again with the file system check and post the output?
Created attachment 1033 [details] Bootlog after adding rd.debug to Linux command line
I've attached the requested log. Please let me know if there is anything else that I can provide.
(In reply to Nick Eads from comment #4) > I've attached the requested log. Please let me know if there is anything > else that I can provide. Thank you. This is an interesting problem: > [ 3.360177] dracut: Checking ext4: /dev/disk/by-uuid/eb1942a7-4ac1-48d1-b2a7-48471635e7cc > [ 3.360787] dracut: issuing e2fsck -a -f /dev/disk/by-uuid/eb1942a7-4ac1-48d1-b2a7-48471635e7cc > [ 3.363908] dracut Warning: e2fsck returned with 16 It looks like there is an extra "" in the command line. However, I do not know where that is coming from. In the code, the command is being constructed in a pretty straight-forward way: > https://git.ipfire.org/?p=thirdparty/dracut.git;a=blob;f=modules.d/99fs-lib/fs-lib.sh;h=36cd731a1aef46e75e5610865e3e4981b35a1dcb;hb=82d9fbf193b0d8bd810c6cbee726a1f851e5ee75#l108 We are already on the latest version. So this must be a new problem being introduced into dracut. I was hoping for a little bit more debug output from the command line option.
1. On the startup screen there is an additional information: e2fsck: invalid option -- ' ' https://community.ipfire.org/uploads/default/original/2X/7/758e3454129982e0fa941dff92dbf31b14cef796.png 2. According to the e2fsck manual: The exit code returned by e2fsck is the sum of the following conditions: 0 - No errors 1 - File system errors corrected 2 - File system errors corrected, system should be rebooted 4 - File system errors left uncorrected 8 - Operational error 16 - Usage or syntax error 32 - E2fsck canceled by user request 128 - Shared library error
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=7e6efc89ea167535caa29e921be0d39a9e076920 @Michael: Please merge "next" into "master", C167 should be ready to go now.
https://blog.ipfire.org/post/ipfire-2-27-core-update-167-released