Package: dracut-install
Version: 110-1
Severity: important
X-Debbugs-Cc: [email protected]
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