🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.kernel
Article #580

Bug#1153809: dracut: post-update.d hooks regression (regression of #753752)

#580
From: Hendrik Iseke
Date: Thu, 12 Nov 2026 09:20
77 lines
4173 bytes
Package: dracut
Version: 112-8
Severity: important
X-Debbugs-Cc: hi@tavira-net.de

Dear Maintainer,

This is a regression of #753752 ("dracut: Misses support for hooks
before/after initramfs build"), which is now archived and can no
longer be reopened, so filing as a new bug.

Bug#753752 ("dracut: Misses support for hooks before/after initramfs
build") was fixed in dracut 102-1 via
debian/patches/debian-initramfs-post-update.patch, which patched
dracut.sh to run /etc/initramfs/post-update.d/* (via run-parts) at
the end of every dracut invocation, controllable via
NO_POST_UPDATE_HOOKS.

This patch was silently dropped in dracut (110-1):

    dracut (110-1) unstable; urgency=medium

      * New upstream release.
      * Drop all patches applied upstream
      ...

The changelog states patches were dropped because they were "applied
upstream", but this particular patch was never merged into the
dracut-ng upstream project. /usr/bin/dracut in the current 112-8
package contains no reference to post-update.d or
NO_POST_UPDATE_HOOKS:

    $ grep -n 'post-update\|NO_POST_UPDATE_HOOKS' /usr/bin/dracut
    (no output)

As a result, /etc/initramfs/post-update.d/ hooks (e.g. bootloader
integration scripts such as zz-update-gummiboot or custom
ukify-based hooks) are no longer invoked reliably on kernel
installation. They currently only fire by accident, via the
dpkg "update-initramfs" trigger (debian/dracut.postinst), when some
unrelated package (busybox, kmod, udev, amd64-microcode, etc.) that
activates that trigger happens to be upgraded in the same
transaction as the kernel. A plain kernel-only install
(/etc/kernel/postinst.d/dracut calling "dracut --force ..." directly)
never runs post-update.d hooks at all.

Please re-apply debian-initramfs-post-update.patch (or an equivalent
fix) so that dracut runs /etc/initramfs/post-update.d/ hooks after
every image build again.

Thanks,
Hendrik Iseke


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

Kernel: Linux 7.3.4+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: 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 dracut depends on:
ii  dracut-core  112-8
ii  linux-base   4.17

dracut recommends no packages.

Versions of packages dracut suggests:
pn  dracut-network  <none>

-- no debconf information
Technical Details
Message-ID: <NYz8l-boVt-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Hendrik Iseke <hi@tavira-net.de>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1153809: dracut: post-update.d hooks regression (regression of #753752)
Date: Thu, 12 Nov 2026 10:20:01 +0100
Message-ID: <NYz8l-boVt-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 12 09:13:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Hendrik Iseke <hi@tavira-net.de>, 1153809@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: hi@tavira-net.de, debian-kernel@lists.debian.org
X-Debian-Pr-Message: report 1153809
X-Debian-Pr-Package: dracut
X-Debian-Pr-Source: dracut
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002188
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 77
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 12 Nov 2026 10:11:44 +0100
X-Original-Message-ID: <179447470493.11125.7282054930305875463.reportbug@floripa>