Summary: | Core 167: Forced filesystem check on reboot fails due to apparent syntax error | ||
---|---|---|---|
Product: | IPFire | Reporter: | Nick Eads <eadsnr> |
Component: | --- | Assignee: | Peter Müller <peter.mueller> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Crash | ||
Priority: | - Unknown - | CC: | michael.tremer, peter.mueller, tomphz |
Version: | 2 | Keywords: | Blocker |
Hardware: | all | ||
OS: | All | ||
Attachments: | Bootlog after adding rd.debug to Linux command line |
Description
Nick Eads
2022-04-08 22:48:02 UTC
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. |