Code: Select all
file system check on root device was skipped because of an unmet condition check
Code: Select all
file system check on root device was skipped because of an unmet condition check
Code: Select all
$ systemctl status systemd-fsck-root.service
Code: Select all
Jan 04 06:06:15 lenovo-debian-xfce systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
Code: Select all
○ systemd-fsck-root.service - File System Check on Root Device
Loaded: loaded (/lib/systemd/system/systemd-fsck-root.service; enabled-runtime; preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Sat 2025-01-04 06:06:15 GMT; 1h 32min ago
└─ ConditionPathExists=!/run/initramfs/fsck-root was not met
Docs: man:systemd-fsck-root.service(8)
Code: Select all
systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
Code: Select all
$ systemctl status systemd-fsck-root.service
So the unmet condition in your log is also this, isn't it ?kajasie wrote: 2025-01-06 12:44 The output of:is the same as you wrote it.Code: Select all
$ systemctl status systemd-fsck-root.service
Code: Select all
ConditionPathExists=!/run/initramfs/fsck-root was not met
According to the systemd changelog [1]:ConditionPathExists=
Check for the existence of a file. If the specified absolute path name does not exist, the condition will fail. If the absolute path name passed to ConditionPathExists= is prefixed with an exclamation mark ("!"), the test is negated, and the unit is only started if the path does not exist.
So the systemd-fsck-root.service does not check by default the root file system if the file /run/initramfs/fsck-root exists; i.e.:* Skip systemd-fsckd autopkgtest if /run/initramfs/fsck-root exists, i. e. the initramfs already ran fsck.
Code: Select all
$ sudo ls -la /run/initramfs/fsck-root
Password:
-rw-r--r-- 1 root root 0 6 gen 16.51 /run/initramfs/fsck-root