🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.kernel
Article #911

Bug#1155717: dracut-core: 09console-setup rule calls /sbin/initqueue but does not depend on initqueue module

#911
From: Benjamin Drung
Date: Tue, 01 Dec 2026 23:00
57 lines
4142 bytes
On Sun, 2026-11-29 at 10:27 +1000, Kel Modderman wrote:
> Package: dracut-core
> Version: 113-2
> Severity: normal
> Tags: patch
> 
> Hi,
> 
> On a system installed with an ext4 root and no LUKS, LVM or RAID, every boot logs this from the initramfs:
> 
>   (udev-worker)[202]: tty0: Failed to find and pin callout binary "/sbin/initqueue": No such file or directory
>   (udev-worker)[202]: tty0: Failed to execute '/sbin/initqueue --onetime --unique --name console-setup /lib/udev/console-setup', ignoring: No such file or directory
> 
> The rule comes from Debian's 09console-setup module (10-console.rules):
> 
>   KERNEL=="tty0", RUN+="/sbin/initqueue --onetime --unique --name console-setup /lib/udev/console-setup"
> 
> But the module's depends() returns 0 without naming initqueue. Since 108-1 the initqueue module is only included when another module asks for it, so this initramfs has no /sbin/initqueue and setupcon never runs there. btrfs, crypt, lvm and mdraid depend on initqueue, so those systems get it anyway. dracut also writes usr/lib/dracut/need-initqueue for this rule, but the module is still left out.
> 
> I see it on initramfs images built by the installer (Calamares) in a chroot, where hostonly_cmdline is off. From reading 80base, I expect a rebuild on the running system to pull initqueue in through the ESP's devexists hook, so it may go away after the first kernel update. I have not tested that.
> 
> 70numlock declares the same dependency. This fixes it here:
> 
> --- a/debian/09console-setup/module-setup.sh
> +++ b/debian/09console-setup/module-setup.sh
> @@ -18,3 +18,4 @@
>  depends() {
> +    echo base initqueue
>      return 0
>  }
> 
> I tested it in a VM with an initramfs built the same way, one boot with and one without the change. With it, the error is gone and dracut-initqueue.service runs. The initramfs only gains initqueue and grep, which a btrfs system already has.
> 
> dracut-core 113-2, systemd 262.2-1

Thanks. I took the opportunity to convert it to a systemd service in
case systemd is used. Otherwise it will pull in initqueue.

-- 
Benjamin Drung
Debian & Ubuntu Developer
Technical Details
Message-ID: <O5EZj-fqiK-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O5EZj-fqiK-3@gated-at.bofh.it> <O5EZj-fqiK-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Benjamin Drung <bdrung@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1155717: dracut-core: 09console-setup rule calls /sbin/initqueue but does not depend on initqueue module
Date: Wed, 02 Dec 2026 00:00:01 +0100
Message-ID: <O5EZj-fqiK-1@gated-at.bofh.it>
References: <O5EZj-fqiK-3@gated-at.bofh.it> <O5EZj-fqiK-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 22:55:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Benjamin Drung <bdrung@debian.org>, 1155717@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: followup 1155717
X-Debian-Pr-Package: dracut-core
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: dracut
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-9 
MIME-Version: 1.0
X-Debian-User: bdrung
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006416
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 57
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 01 Dec 2026 23:53:10 +0100
X-Original-Message-ID: <feca2fe80536b7dc7aba52f0b3996ac268a0a001.camel@debian.org>
X-Original-References: <CAFcu4SZGRyr2pp7xdT0QTTZz2_v6Od5B3pv+88DGYNfgrwGbSQ@mail.gmail.com> <CAFcu4SZGRyr2pp7xdT0QTTZz2_v6Od5B3pv+88DGYNfgrwGbSQ@mail.gmail.com>