Bug#833231: initramfs-tools: during initramfs: "/init: line 1: logsave: not found" when e2fsprogs is not installed
Source: initramfs-tools
Version: 0.125
Severity: normal
Control: affects -1 e2fsprogs
I have a minimal system with only btrfs filesystems, and e2fsprogs is
not needed on it. It would be nice to be able to uninstall it.
however, when i uninstall e2fsprogs and reboot into an initramfs built
by initramfs-tools, i see the following error and then i get dropped
back into the initramfs shell:
(initramfs) exit
/init: line 1: logsave: not found
The root filesystem on /dev/vda1 requires a manual fsck
BusyBox v1.22.1 (Debian 1:1.22.0-19) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
even if i remove the logsave and "requires a manual fsck" lines from
/scripts/functions in the initramfs, these errors repeat themselves
and i can't get the system booted again.
It would be nice to remove the need for e2fsprogs for systems that
aren't using the extX family of filesystems.
--dkg
-- System Information:
Debian Release: stretch/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: