[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1115715: linux: Should warn much more prominently when initrd generation failed



Source: linux
Version: 6.16.3-1
Severity: important

Hello,

As linux gets more drivers, the initrd gets larger, and /boot partitions
of existing systems may become too small. On upgrade the generation
of the initrd may fail out of ENOSPC. But the error is not showing up
completely obviously, so people sometimes miss it, only to realize on
next boot that their system is unbootable...

It would probably be useful to emit a strong warning, such as a dialog
box, to warn about failing to generate initrd, and advising to clean
/boot before re-trying dpkg --configure --pending. In a way similar to
this warning from the linux-base package:

"
You are running a kernel (version ${running}) and attempting to remove the
same version.
"

Samuel

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldoldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.16.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: