Bug#1028267: initscripts: runs fsck unconditionally but does not depends on e2fsprogs

Mark Hindley mark at hindley.org.uk
Mon Jan 9 16:34:26 GMT 2023


Thorsten,

Thanks for this.

On Mon, Jan 09, 2023 at 02:55:59PM +0100, Thorsten Glaser wrote:
> On Mon, 9 Jan 2023, Mark Hindley wrote:
> 
> >> fsck is util-linux, not e2fsprogs.
> >
> >Yes, but fsck.ext4 is e2fsprogs and that is what is missing in #1028181.
> 
> But that’s ⓐ the user’s problem and ⓑ not necessarily an error
> as there exist filesystems for which no fsck binary exists.
> 
> (If the user has set pass to ≠0 in fstab(5) it’s their own fault
> of course.)

Yes, although I think the default fstab has pass=1 for root.

In #1028181, Holger says

> Nowadays, checking ext4 filesystems is optional and systemd skips doing it in
> the absence of e2fsprogs.

If that is true (and I have no particular reason to doubt him) maybe the default
fstab should be changed now the default fs is ext4. But it doesn't look like
something to insert special handling for in initscripts.

Mark



More information about the Debian-init-diversity mailing list