Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dracut for openSUSE:Factory checked 
in at 2024-09-15 12:33:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dracut (Old)
 and      /work/SRC/openSUSE:Factory/.dracut.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dracut"

Sun Sep 15 12:33:18 2024 rev:231 rq:1200856 version:059+suse.648.g91732c01

Changes:
--------
--- /work/SRC/openSUSE:Factory/dracut/dracut.changes    2024-08-25 
12:09:27.425692420 +0200
+++ /work/SRC/openSUSE:Factory/.dracut.new.29891/dracut.changes 2024-09-15 
12:33:57.094397251 +0200
@@ -1,0 +2,14 @@
+Fri Sep 13 13:27:57 UTC 2024 - antonio.fei...@suse.com
+
+- Update to version 059+suse.648.g91732c01:
+
+  Fixes for NVMeoF boot (bsc#1230468):
+  * fix(nvmf): install (only) required nvmf modules
+  * fix(nvmf): require NVMeoF modules
+  * fix(nvmf): move /etc/nvme/host{nqn,id} requirement to hostonly
+
+  Fixes for bsc#1230354:
+  * feat(systemd): always install libsystemd libraries
+  * fix(dracut): do not add all lib subdirs to `LD_LIBRARY_PATH` with 
`--sysroot`
+
+-------------------------------------------------------------------

Old:
----
  dracut-059+suse.639.g49307b2a.obscpio

New:
----
  dracut-059+suse.648.g91732c01.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dracut.spec ++++++
--- /var/tmp/diff_new_pack.twJ5HP/_old  2024-09-15 12:33:59.246486408 +0200
+++ /var/tmp/diff_new_pack.twJ5HP/_new  2024-09-15 12:33:59.262487071 +0200
@@ -25,7 +25,7 @@
 %endif
 
 Name:           dracut
-Version:        059+suse.639.g49307b2a
+Version:        059+suse.648.g91732c01
 Release:        0
 Summary:        Event driven initramfs infrastructure
 License:        GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later

++++++ README.susemaint ++++++
--- /var/tmp/diff_new_pack.twJ5HP/_old  2024-09-15 12:33:59.554499169 +0200
+++ /var/tmp/diff_new_pack.twJ5HP/_new  2024-09-15 12:33:59.594500826 +0200
@@ -376,4 +376,10 @@
 61ab3386 feat(crypt): force the inclusion of crypttab entries with 
x-initrd.attach
 6611c6e4 fix(dracut-functions.sh): only return block devices from 
get_persistent_dev
 6c99c073 feat(systemd*): include systemd config files from /usr/lib/systemd
+e0b87682 fix(dracut): ldd output borked with `--sysroot`
+d0c82322 fix(dracut): do not add all lib subdirs to `LD_LIBRARY_PATH` with 
`--sysroot`
+921792f2 feat(systemd): always install libsystemd libraries
+54cd6479 fix(nvmf): move /etc/nvme/host{nqn,id} requirement to hostonly
+41332702 fix(nvmf): require NVMeoF modules
+3748ed4d fix(nvmf): install (only) required nvmf modules
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.twJ5HP/_old  2024-09-15 12:33:59.830510603 +0200
+++ /var/tmp/diff_new_pack.twJ5HP/_new  2024-09-15 12:33:59.862511929 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/opensuse/dracut.git</param>
-              <param 
name="changesrevision">b1915cf13ca329ba411c800abc742c97be132c59</param></service></servicedata>
+              <param 
name="changesrevision">80ec0b76eb4ecaa9478dda65bf1cf61ae75fd71b</param></service></servicedata>
 (No newline at EOF)
 

++++++ dracut-059+suse.639.g49307b2a.obscpio -> 
dracut-059+suse.648.g91732c01.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dracut-059+suse.639.g49307b2a/dracut-init.sh 
new/dracut-059+suse.648.g91732c01/dracut-init.sh
--- old/dracut-059+suse.639.g49307b2a/dracut-init.sh    2024-08-20 
08:22:01.000000000 +0200
+++ new/dracut-059+suse.648.g91732c01/dracut-init.sh    2024-09-13 
15:24:30.000000000 +0200
@@ -107,10 +107,7 @@
 # ldd needs LD_LIBRARY_PATH pointing to the libraries within the sysroot 
directory
 if [[ -n $dracutsysrootdir ]]; then
     for lib in $libdirs; do
-        mapfile -t -d '' lib_subdirs < <(find "$lib" -type d -print0 2> 
/dev/null)
-        for lib_subdir in "${lib_subdirs[@]}"; do
-            
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+"$LD_LIBRARY_PATH":}$dracutsysrootdir$lib_subdir"
-        done
+        
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+"$LD_LIBRARY_PATH":}$dracutsysrootdir$lib"
     done
     export LD_LIBRARY_PATH
 fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dracut-059+suse.639.g49307b2a/modules.d/00systemd/module-setup.sh 
new/dracut-059+suse.648.g91732c01/modules.d/00systemd/module-setup.sh
--- old/dracut-059+suse.639.g49307b2a/modules.d/00systemd/module-setup.sh       
2024-08-20 08:22:01.000000000 +0200
+++ new/dracut-059+suse.648.g91732c01/modules.d/00systemd/module-setup.sh       
2024-09-13 15:24:30.000000000 +0200
@@ -266,6 +266,7 @@
     inst_libdir_file \
         {"tls/$_arch/",tls/,"$_arch/",}"libgcrypt.so*" \
         {"tls/$_arch/",tls/,"$_arch/",}"libkmod.so*" \
-        {"tls/$_arch/",tls/,"$_arch/",}"libnss_*"
+        {"tls/$_arch/",tls/,"$_arch/",}"libnss_*" \
+        {"tls/$_arch/",tls/,"$_arch/",}"systemd/libsystemd*.so"
 
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dracut-059+suse.639.g49307b2a/modules.d/95nvmf/module-setup.sh 
new/dracut-059+suse.648.g91732c01/modules.d/95nvmf/module-setup.sh
--- old/dracut-059+suse.639.g49307b2a/modules.d/95nvmf/module-setup.sh  
2024-08-20 08:22:01.000000000 +0200
+++ new/dracut-059+suse.648.g91732c01/modules.d/95nvmf/module-setup.sh  
2024-09-13 15:24:30.000000000 +0200
@@ -2,9 +2,10 @@
 
 # called by dracut
 check() {
+    local -A nvmf_trtypes
+
     require_binaries nvme jq || return 1
-    [ -f /etc/nvme/hostnqn ] || return 255
-    [ -f /etc/nvme/hostid ] || return 255
+    require_kernel_modules nvme_fabrics || return 1
 
     is_nvmf() {
         local _dev=$1
@@ -22,7 +23,12 @@
                 break
             fi
         done
-        [[ $trtype == "fc" ]] || [[ $trtype == "tcp" ]] || [[ $trtype == 
"rdma" ]]
+        if [[ $trtype == "fc" ]] || [[ $trtype == "tcp" ]] || [[ $trtype == 
"rdma" ]]; then
+            nvmf_trtypes["nvme_${trtype}"]=1
+            return 0
+        else
+            return 1
+        fi
     }
 
     has_nbft() {
@@ -36,11 +42,14 @@
     }
 
     [[ $hostonly ]] || [[ $mount_needs ]] && {
+        [ -f /etc/nvme/hostnqn ] || return 255
+        [ -f /etc/nvme/hostid ] || return 255
         pushd . > /dev/null
         for_each_host_dev_and_slaves is_nvmf
         local _is_nvmf=$?
         popd > /dev/null || exit
         [[ $_is_nvmf == 0 ]] || return 255
+        require_kernel_modules "${!nvmf_trtypes[@]}" || return 1
         if [ ! -f /sys/class/fc/fc_udev_device/nvme_discovery ] \
             && [ ! -f /etc/nvme/discovery.conf ] \
             && [ ! -f /etc/nvme/config.json ] && ! has_nbft; then
@@ -59,8 +68,9 @@
 
 # called by dracut
 installkernel() {
-    instmods nvme_fc lpfc qla2xxx
-    hostonly="" instmods nvme_tcp nvme_fabrics 8021q
+    instmods nvme_fc nvme_tcp nvme_rdma lpfc qla2xxx
+    # 802.1q VLAN may be set up in Firmware later. Include the module always.
+    hostonly="" instmods 8021q
 }
 
 # called by dracut
@@ -130,8 +140,8 @@
         _nvmf_args=$(cmdline)
         [[ "$_nvmf_args" ]] && printf "%s" "$_nvmf_args" >> 
"${initdir}/etc/cmdline.d/95nvmf-args.conf"
     fi
-    inst_simple "/etc/nvme/hostnqn"
-    inst_simple "/etc/nvme/hostid"
+    inst_simple -H "/etc/nvme/hostnqn"
+    inst_simple -H "/etc/nvme/hostid"
 
     inst_multiple ip sed
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dracut-059+suse.639.g49307b2a/suse/README.susemaint 
new/dracut-059+suse.648.g91732c01/suse/README.susemaint
--- old/dracut-059+suse.639.g49307b2a/suse/README.susemaint     2024-08-20 
08:22:01.000000000 +0200
+++ new/dracut-059+suse.648.g91732c01/suse/README.susemaint     2024-09-13 
15:24:30.000000000 +0200
@@ -376,3 +376,9 @@
 61ab3386 feat(crypt): force the inclusion of crypttab entries with 
x-initrd.attach
 6611c6e4 fix(dracut-functions.sh): only return block devices from 
get_persistent_dev
 6c99c073 feat(systemd*): include systemd config files from /usr/lib/systemd
+e0b87682 fix(dracut): ldd output borked with `--sysroot`
+d0c82322 fix(dracut): do not add all lib subdirs to `LD_LIBRARY_PATH` with 
`--sysroot`
+921792f2 feat(systemd): always install libsystemd libraries
+54cd6479 fix(nvmf): move /etc/nvme/host{nqn,id} requirement to hostonly
+41332702 fix(nvmf): require NVMeoF modules
+3748ed4d fix(nvmf): install (only) required nvmf modules

++++++ dracut.obsinfo ++++++
--- /var/tmp/diff_new_pack.twJ5HP/_old  2024-09-15 12:34:00.934556341 +0200
+++ /var/tmp/diff_new_pack.twJ5HP/_new  2024-09-15 12:34:00.970557833 +0200
@@ -1,5 +1,5 @@
 name: dracut
-version: 059+suse.639.g49307b2a
-mtime: 1724134921
-commit: 49307b2af50670f836984ca878c2dd511864e125
+version: 059+suse.648.g91732c01
+mtime: 1726233870
+commit: 91732c01f7ed6d8f9047f8c2ef11e8379e93e7b2
 

Reply via email to