Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dracut for openSUSE:Factory checked in at 2026-05-08 16:42:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dracut (Old) and /work/SRC/openSUSE:Factory/.dracut.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dracut" Fri May 8 16:42:26 2026 rev:258 rq:1351357 version:110+suse.29.g16072cee Changes: -------- --- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2026-03-31 15:22:19.452438420 +0200 +++ /work/SRC/openSUSE:Factory/.dracut.new.1966/dracut.changes 2026-05-08 16:42:28.861971772 +0200 @@ -1,0 +2,11 @@ +Thu May 07 06:44:07 UTC 2026 - Antonio Feijoo <[email protected]> + +- Update to version 110+suse.29.g16072cee: + * fix(dracut-install): remove FTS_NOSTAT in install_modules() fts traversal + * fix(systemd-cryptsetup): load libcryptsetup via dlopen + * fix(systemd-repart): load libfdisk via dlopen + * fix(systemd-sysusers): do not run systemd-sysusers as part of the build process + * fix(systemd): revert changes related to deduplication of cryptsetup targets + * feat(systemd-coredump): save coredumps to journal + +------------------------------------------------------------------- Old: ---- dracut-110+suse.23.g5d9502c7.tar.xz New: ---- dracut-110+suse.29.g16072cee.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dracut.spec ++++++ --- /var/tmp/diff_new_pack.o2zKye/_old 2026-05-08 16:42:29.770009401 +0200 +++ /var/tmp/diff_new_pack.o2zKye/_new 2026-05-08 16:42:29.774009566 +0200 @@ -26,7 +26,7 @@ %endif Name: dracut -Version: 110+suse.23.g5d9502c7 +Version: 110+suse.29.g16072cee Release: 0 Summary: Event driven initramfs infrastructure License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later @@ -372,6 +372,7 @@ %{dracutlibdir}/modules.d/11systemd-resolved %{dracutlibdir}/modules.d/11systemd-sysctl %{dracutlibdir}/modules.d/11systemd-sysext +%{dracutlibdir}/modules.d/11systemd-sysusers %{dracutlibdir}/modules.d/11systemd-timedated %{dracutlibdir}/modules.d/11systemd-timesyncd %{dracutlibdir}/modules.d/11systemd-tmpfiles @@ -486,7 +487,6 @@ %{dracutlibdir}/modules.d/77selinux %{dracutlibdir}/modules.d/77syslog %{dracutlibdir}/modules.d/77usrmount -%{dracutlibdir}/modules.d/78systemd-sysusers %{dracutlibdir}/modules.d/80base %{dracutlibdir}/modules.d/84memstrack %{dracutlibdir}/modules.d/85shell-interpreter ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.o2zKye/_old 2026-05-08 16:42:29.846012551 +0200 +++ /var/tmp/diff_new_pack.o2zKye/_new 2026-05-08 16:42:29.850012716 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/opensuse/dracut-ng.git</param> - <param name="changesrevision">5d9502c714d7ce6ddb67f2d632d7326cc41614a0</param></service></servicedata> + <param name="changesrevision">16072cee22ea9fbab6656e786712803928b43b7b</param></service></servicedata> (No newline at EOF) ++++++ dracut-110+suse.23.g5d9502c7.tar.xz -> dracut-110+suse.29.g16072cee.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/10systemd/module-setup.sh new/dracut-110+suse.29.g16072cee/modules.d/10systemd/module-setup.sh --- old/dracut-110+suse.23.g5d9502c7/modules.d/10systemd/module-setup.sh 2026-03-30 08:48:10.000000000 +0200 +++ new/dracut-110+suse.29.g16072cee/modules.d/10systemd/module-setup.sh 2026-05-07 08:40:48.000000000 +0200 @@ -48,6 +48,9 @@ "$systemdutildir"/system.conf \ "$systemdutildir"/system.conf.d/*.conf \ "$systemdsystemunitdir"/debug-shell.service \ + "$systemdsystemunitdir"/cryptsetup.target \ + "$systemdsystemunitdir"/cryptsetup-pre.target \ + "$systemdsystemunitdir"/remote-cryptsetup.target \ "$systemdsystemunitdir"/emergency.target \ "$systemdsystemunitdir"/sysinit.target \ "$systemdsystemunitdir"/basic.target \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-coredump/initrd.conf new/dracut-110+suse.29.g16072cee/modules.d/11systemd-coredump/initrd.conf --- old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-coredump/initrd.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/dracut-110+suse.29.g16072cee/modules.d/11systemd-coredump/initrd.conf 2026-05-07 08:40:48.000000000 +0200 @@ -0,0 +1,8 @@ +# This file is part of dracut systemd-coredump module. +# SPDX-License-Identifier: GPL-2.0-or-later +# +# The default "Storage=external" (/var/lib/systemd/coredump/) is usually lost +# after switching root, because /var is usually not mounted in the initrd. + +[Coredump] +Storage=journal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-coredump/module-setup.sh new/dracut-110+suse.29.g16072cee/modules.d/11systemd-coredump/module-setup.sh --- old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-coredump/module-setup.sh 2026-03-30 08:48:10.000000000 +0200 +++ new/dracut-110+suse.29.g16072cee/modules.d/11systemd-coredump/module-setup.sh 2026-05-07 08:40:48.000000000 +0200 @@ -34,7 +34,8 @@ # Install the required file(s) and directories for the module in the initramfs. install() { - inst_dir /var/lib/systemd/coredump + inst_simple "$moddir/initrd.conf" "$systemdutildir/coredump.conf.d/initrd.conf" + inst_sysusers systemd-coredump.conf inst_multiple -o \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-repart/module-setup.sh new/dracut-110+suse.29.g16072cee/modules.d/11systemd-repart/module-setup.sh --- old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-repart/module-setup.sh 2026-03-30 08:48:10.000000000 +0200 +++ new/dracut-110+suse.29.g16072cee/modules.d/11systemd-repart/module-setup.sh 2026-05-07 08:40:48.000000000 +0200 @@ -11,6 +11,11 @@ return 255 } +# Config adjustments before installing anything. +config() { + add_dlopen_features+=" libsystemd-shared-*.so:fdisk " +} + # Install the required file(s) for the module in the initramfs. install() { inst_multiple -o \ @@ -30,6 +35,12 @@ "mkfs.erofs" \ "mksquashfs" + # Install library file(s) + if [[ ! $USE_SYSTEMD_DLOPEN_DEPS ]]; then + inst_libdir_file \ + {"tls/$DRACUT_ARCH/",tls/,"$DRACUT_ARCH/",}"libfdisk.so.*" + fi + # Install the hosts local user configurations if enabled. if [[ $hostonly ]]; then inst_multiple -H -o \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-sysusers/module-setup.sh new/dracut-110+suse.29.g16072cee/modules.d/11systemd-sysusers/module-setup.sh --- old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-sysusers/module-setup.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/dracut-110+suse.29.g16072cee/modules.d/11systemd-sysusers/module-setup.sh 2026-05-07 08:40:48.000000000 +0200 @@ -0,0 +1,31 @@ +#!/bin/bash +# This file is part of dracut. +# SPDX-License-Identifier: GPL-2.0-or-later + +# Prerequisite check(s) for module. +check() { + # If the binary(s) requirements are not fulfilled the module can't be installed. + require_binaries systemd-sysusers || return 1 + + # Return 255 to only include the module, if another module requires it. + return 255 +} + +# Install the required file(s) and directories for the module in the initramfs. +install() { + inst_simple "$moddir/sysusers-dracut.conf" "$systemdsystemunitdir/systemd-sysusers.service.d/sysusers-dracut.conf" + + inst_sysusers basic.conf + + inst_multiple -o \ + "$systemdsystemunitdir"/systemd-sysusers.service \ + "$systemdsystemunitdir"/sysinit.target.wants/systemd-sysusers.service \ + systemd-sysusers + + # Install the hosts local user configurations if enabled. + if [[ $hostonly ]]; then + inst_multiple -H -o \ + "$systemdsystemconfdir"/systemd-sysusers.service \ + "$systemdsystemconfdir/systemd-sysusers.service.d/*.conf" + fi +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-sysusers/sysusers-dracut.conf new/dracut-110+suse.29.g16072cee/modules.d/11systemd-sysusers/sysusers-dracut.conf --- old/dracut-110+suse.23.g5d9502c7/modules.d/11systemd-sysusers/sysusers-dracut.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/dracut-110+suse.29.g16072cee/modules.d/11systemd-sysusers/sysusers-dracut.conf 2026-05-07 08:40:48.000000000 +0200 @@ -0,0 +1,2 @@ +[Unit] +ConditionNeedsUpdate= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/71systemd-cryptsetup/module-setup.sh new/dracut-110+suse.29.g16072cee/modules.d/71systemd-cryptsetup/module-setup.sh --- old/dracut-110+suse.23.g5d9502c7/modules.d/71systemd-cryptsetup/module-setup.sh 2026-03-30 08:48:10.000000000 +0200 +++ new/dracut-110+suse.29.g16072cee/modules.d/71systemd-cryptsetup/module-setup.sh 2026-05-07 08:40:48.000000000 +0200 @@ -46,6 +46,11 @@ } # called by dracut +config() { + add_dlopen_features+=" libsystemd-shared-*.so:cryptsetup " +} + +# called by dracut install() { # the cryptsetup targets are already pulled in by 00systemd, but not # the enablement symlinks @@ -59,6 +64,12 @@ "$systemdsystemunitdir"/remote-cryptsetup.target \ "$systemdsystemunitdir"/initrd-root-device.target.wants/remote-cryptsetup.target + # Install required libraries. + if [[ ! $USE_SYSTEMD_DLOPEN_DEPS ]]; then + inst_libdir_file \ + {"tls/$DRACUT_ARCH/",tls/,"$DRACUT_ARCH/",}"libcryptsetup.so.*" + fi + if [[ $hostonly ]] && [[ -f $initdir/etc/crypttab ]]; then # for each entry in /etc/crypttab check if the key file is backed by a socket unit and if so, # include it along with its corresponding service unit. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/78systemd-sysusers/module-setup.sh new/dracut-110+suse.29.g16072cee/modules.d/78systemd-sysusers/module-setup.sh --- old/dracut-110+suse.23.g5d9502c7/modules.d/78systemd-sysusers/module-setup.sh 2026-03-30 08:48:10.000000000 +0200 +++ new/dracut-110+suse.29.g16072cee/modules.d/78systemd-sysusers/module-setup.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,31 +0,0 @@ -#!/bin/bash -# This file is part of dracut. -# SPDX-License-Identifier: GPL-2.0-or-later - -# This module should be orders after all modules that depends on it -# This is to make sure that all inst_sysusers calls are in place before systemd-sysusers is called. - -# Prerequisite check(s) for module. -check() { - # If the binary(s) requirements are not fulfilled the module can't be installed. - require_binaries systemd-sysusers || return 1 - - # Return 255 to only include the module, if another module requires it. - return 255 -} - -# Install the required file(s) and directories for the module in the initramfs. -install() { - inst_sysusers basic.conf - - # redirect stdout temporarily to FD 3 to use filter stderr - { - set -o pipefail - systemd-sysusers --root="$initdir" 2>&1 >&3 | grep -v "^Creating " >&2 - } 3>&1 - - # systemd-sysusers does not set any permission - # set read and write permission for the current user - [[ -f "$initdir/etc/gshadow" ]] && chmod u+rw "$initdir/etc/gshadow" - [[ -f "$initdir/etc/shadow" ]] && chmod u+rw "$initdir/etc/shadow" -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/modules.d/80base/module-setup.sh new/dracut-110+suse.29.g16072cee/modules.d/80base/module-setup.sh --- old/dracut-110+suse.23.g5d9502c7/modules.d/80base/module-setup.sh 2026-03-30 08:48:10.000000000 +0200 +++ new/dracut-110+suse.29.g16072cee/modules.d/80base/module-setup.sh 2026-05-07 08:40:48.000000000 +0200 @@ -68,17 +68,7 @@ [[ $hostonly ]] && pwshadow='x' grep -qs '^root:' "$initdir/etc/passwd" || echo "root:$pwshadow:0:0::/root:/bin/sh" >> "$initdir/etc/passwd" - if [[ $hostonly ]]; then - # check if other dracut modules already created an entry for root in /etc/shadow - if grep -qs '^root:' "$initdir/etc/shadow"; then - grep -v '^root:' "$initdir/etc/shadow" > "$initdir/etc/shadow-" - mv "$initdir/etc/shadow-" "$initdir/etc/shadow" - fi - # replace root password in the existing entry in etc/shadow - # root password from host takes precedence over root password set by systemd-sysuser in hostonly mode - # create a new entry for root in /etc/shadow - grep '^root:' "${dracutsysrootdir-}"/etc/shadow >> "$initdir/etc/shadow" - fi + [[ $hostonly ]] && grep '^root:' "${dracutsysrootdir-}"/etc/shadow >> "$initdir/etc/shadow" # install our scripts and hooks inst_script "$moddir/loginit.sh" "/sbin/loginit" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-110+suse.23.g5d9502c7/src/install/dracut-install.c new/dracut-110+suse.29.g16072cee/src/install/dracut-install.c --- old/dracut-110+suse.23.g5d9502c7/src/install/dracut-install.c 2026-03-30 08:48:10.000000000 +0200 +++ new/dracut-110+suse.29.g16072cee/src/install/dracut-install.c 2026-05-07 08:40:48.000000000 +0200 @@ -2707,7 +2707,7 @@ { char *paths[] = { path1, path2, path3, NULL }; - fts = fts_open(paths, FTS_COMFOLLOW | FTS_NOCHDIR | FTS_NOSTAT | FTS_LOGICAL, NULL); + fts = fts_open(paths, FTS_COMFOLLOW | FTS_NOCHDIR | FTS_LOGICAL, NULL); } for (FTSENT *ftsent = fts_read(fts); ftsent != NULL; ftsent = fts_read(fts)) {
