Package: dkms
Version: 3.0.13-1
Severity: normal
X-Debbugs-Cc: deb...@gendalph.net

Hello,

It appears that in Trixie package `dkms` no longer recommends `linux-headers-*` 
packages, which leads to newer kernels not having headers installed, which in 
turn leads to DKMS being unable to build kernel modules.
I have encountered this issue with `zfs-dkms`, and although I have caught it 
before reboot, installed and built the kernel module, I still forgot to run 
`update-initramfs -u` and got an unbootable system.

While I see this change had a good reason behind it, it has introduced a 
different issue - I expect a bunch of systems to now end up without headers to 
build modules.

Maybe it makes sense to recommend installing the correct header package after 
install of DKMS or introduce a check that would throw/log a warning if no 
headers are found?

Best regards,
Ihor

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.5-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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

Versions of packages dkms depends on:
ii  build-essential  12.12
ii  dpkg-dev         1.22.11
ii  kmod             33+20240816-2
ii  lsb-release      12.1-1
ii  make             4.3-4.1
ii  patch            2.7.6-7

Versions of packages dkms recommends:
ii  fakeroot             1.36.2-1
ii  gcc [c-compiler]     4:14.2.0-1
ii  gcc-11 [c-compiler]  11.3.0-12
ii  gcc-12 [c-compiler]  12.4.0-2
ii  gcc-14 [c-compiler]  14.2.0-8
ii  sudo                 1.9.16p1-1

Versions of packages dkms suggests:
ii  e2fsprogs  1.47.2~rc1-2
pn  menu       <none>

-- no debconf information

Reply via email to