Bug#1058046: systemd: unable to run fsck at boot

Michael Biebl biebl at debian.org
Mon Dec 11 19:20:35 GMT 2023


[please always CC the bug report on replies]

Am 11.12.23 um 19:47 schrieb Alessandro Ogier:
> Ciao,
> 
>      thanks for your reply.
> 
> I see there is something more complex than I'm able to figure out, but I 
> must report that upon reboot some trivial problems with the filesystem 
> persist so it doesn't seem like anything has really done.
> 
> Is expecting a clean "fsck -n -f XXX" run wrong?
> 

Have you tried "fsck.mode=force fsck.repair=yes" as well?
Afaics, the initrd does not understand "auto".

https://salsa.debian.org/kernel-team/initramfs-tools/-/blob/master/init#L182-192

> 	fastboot|fsck.mode=skip)
> 		fastboot=y
> 		;;
> 	forcefsck|fsck.mode=force)
> 		forcefsck=y
> 		;;
> 	fsckfix|fsck.repair=yes)
> 		fsckfix=y
> 		;;
> 	fsck.repair=no)
> 		fsckfix=n
> 		;;

regards,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20231211/07653ff3/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list