Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #91272

Bug#1128349: dracut-install: Potenial missing build dependencies, dracut-install built without JSON support

From Farblos <farblos@vodafonemail.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1128349: dracut-install: Potenial missing build dependencies, dracut-install built without JSON support
Date 2026-02-18 17:10 +0100
Message-ID <MpShH-1yEt-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: dracut-install
Version: 110-1
Severity: important
X-Debbugs-Cc: farblos@vodafonemail.de

Dear Maintainer,

As of package version 110-1, `dracut-install' does not support JSON:

,----
| [~]$ /usr/lib/dracut/dracut-install --json-supported
| JSON is not supported
`----

However, JSON support is a prerequisite to access the dlopen() metadata
for ELF files, which is a prerequisite for having access to systemd's
dynamic dependencies.

That, in turn, is a prerequisite to process dracut configuration options
`add_dlopen_features' and `omit_dlopen_features'.  These are used, for
example, in `/usr/lib/dracut/modules.d/10systemd/module-setup.sh':

,----
| config() {
|     add_dlopen_features+=" libsystemd-shared-*.so:audit,kmod,mount,seccomp,selinux "
| }
`----

Without that `libseccomp' is not automatically included in the initramfs
generated by dracut.  And without that one gets warnings like the
following during boot:

,----
| Feb 17 14:55:46 host01 systemd[1]: bpf-restrict-fs: LSM BPF program attached
| Feb 17 14:55:46 host01 systemd[1]: /usr/lib/systemd/system/systemd-udevd.service:56: System call bpf cannot be resolved as libseccomp is not available, ignoring: Operation not supported
| Feb 17 14:55:46 host01 systemd[1]: Queued start job for default target initrd.target.
`----

See also upstream issue
<https://github.com/dracut-ng/dracut-ng/issues/2252>, where @chewi
suspects that this is related to missing build dependencies.

Thanks for maintaining dracut packages for Debian!

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

Kernel: Linux 6.18.9+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dracut-install depends on:
ii  libc6     2.42-11+b1
ii  libkmod2  34.2-2+b1

dracut-install recommends no packages.

dracut-install suggests no packages.

-- no debconf information

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1128349: dracut-install: Potenial missing build dependencies, dracut-install built without JSON support Farblos <farblos@vodafonemail.de> - 2026-02-18 17:10 +0100
  Bug#1128349: dracut-install: Potenial missing build dependencies, dracut-install built without JSON support Benjamin Drung <bdrung@debian.org> - 2026-02-18 22:20 +0100
  Bug#1128349: marked as done (dracut-install: Potenial missing  build dependencies, dracut-install built without JSON support) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-02-23 16:00 +0100

csiph-web