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

Lorenzo Puliti plorenzo at disroot.org
Sun Jan 8 23:32:58 GMT 2023

Package: initscripts
Version: 3.06-2
Severity: normal
X-Debbugs-Cc: plorenzo at disroot.org

Hi all,

there are 2 scripts that run fsck without testing if the command
is available in the system: checkroot.sh and checkfs.sh
This package "only" recommands e2fsprogs, so I think it should just
print a warning and go ahead if fsck is not available.
The current behaviour can fail to boot in some cases


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0van (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages initscripts depends on:
ii  sysv-rc         3.06-2
ii  sysvinit-utils  3.06-2

Versions of packages initscripts recommends:
ii  e2fsprogs  1.46.6~rc1-1+b1
ii  psmisc     23.6-1

initscripts suggests no packages.

-- Configuration Files:
/etc/init.d/mountall.sh changed [not included]

-- no debconf information

More information about the Debian-init-diversity mailing list