Hello community,

here is the log from the commit of package dracut for openSUSE:Factory checked 
in at 2017-12-16 20:47:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dracut (Old)
 and      /work/SRC/openSUSE:Factory/.dracut.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dracut"

Sat Dec 16 20:47:31 2017 rev:118 rq:557324 version:044.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dracut/dracut.changes    2017-11-10 
14:36:16.273906841 +0100
+++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes       2017-12-16 
20:47:36.034261514 +0100
@@ -1,0 +2,46 @@
+Fri Dec 15 12:51:39 UTC 2017 - [email protected]
+
+- Switch back to fipvlan for bnx2fc (bsc#1052840)
+  * adds 0548-95fcoe-Switch-back-to-using-fipvlan-for-bnx2fc.patch
+
+- 95fcoe: Allow bnc2x driver more time to complete DCB negotiation 
(bsc#1052840)
+  * adds 0549-fcoe-up-Increase-sleeptime-to-13s.patch
+
+- 95fcoe: add timeout initqueue entries (bsc#1052840)
+  * adds 0550-95fcoe-add-timeout-initqueue-entries.patch
+
+-------------------------------------------------------------------
+Thu Dec 14 12:33:59 UTC 2017 - [email protected]
+
+- Fix task limit in emergency.service (same as in dracut-emergency.service) 
(bsc#1019938)
+  * adds 0547-Fix-task-limit-in-emergency.service-the-same-change-.patch
+
+-------------------------------------------------------------------
+Wed Dec 13 17:07:10 UTC 2017 - [email protected]
+
+- Fix logic for applying 
0541-Make-sure-70-persistent-net.rules-is-included-in-ini.patch
+
+-------------------------------------------------------------------
+Wed Dec 13 16:32:54 UTC 2017 - [email protected]
+
+- Support AMD CPU families 0x16 and 0x17 (bsc#1072424)
+  * Adds 0545-Add-early-microcode-support-for-AMD-family-16h.patch
+  * Adds 0546-Support-Microcode-Updates-for-AMD-CPU-Family-0x17.patch
+
+-------------------------------------------------------------------
+Fri Dec  8 08:55:30 UTC 2017 - [email protected]
+
+- Make ip=dhcp work. Previously, a network interface specifier was required.
+  The new behaviour matches documented behaviour.
+  Adds 0544-40network-Make-ip-dhcp-work.patch 
+
+-------------------------------------------------------------------
+Wed Dec  6 16:21:33 UTC 2017 - [email protected]
+
+- Remove 00systemd-bootchart, which is gone from systemd for some time 
(bsc#1067279)
+  Adds 0543-Remove-00systemd-bootchart.patch
+
+- Ensure 0541-Make-sure-70-persistent-net.rules-is-included-in-ini.patch is
+  not applied on Leap either
+
+-------------------------------------------------------------------

New:
----
  0543-Remove-00systemd-bootchart.patch
  0544-40network-Make-ip-dhcp-work.patch
  0545-Add-early-microcode-support-for-AMD-family-16h.patch
  0546-Support-Microcode-Updates-for-AMD-CPU-Family-0x17.patch
  0547-Fix-task-limit-in-emergency.service-the-same-change-.patch
  0548-95fcoe-Switch-back-to-using-fipvlan-for-bnx2fc.patch
  0549-fcoe-up-Increase-sleeptime-to-13s.patch
  0550-95fcoe-add-timeout-initqueue-entries.patch

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

Other differences:
------------------
++++++ dracut.spec ++++++
--- /var/tmp/diff_new_pack.szZXle/_old  2017-12-16 20:47:37.914170763 +0100
+++ /var/tmp/diff_new_pack.szZXle/_new  2017-12-16 20:47:37.918170570 +0100
@@ -222,10 +222,19 @@
 Patch538:       0538-Enable-core-dumps-with-systemd-from-initrd.patch
 Patch539:       0539-Add-IMA-functionality-fate-323289.patch
 Patch540:       0540-Check-the-proper-variable-for-a-custom-IMA-keys-dire.patch
-%if 0%{?is_opensuse}
+# SLE and Leap have persistent net names, but not Factory/TW
+%if 0%{?suse_version} && ! 0%{?sle_version} 
 Patch541:       0541-Make-sure-70-persistent-net.rules-is-included-in-ini.patch
 %endif
 Patch542:       0542-Include-crc32c-intel-module-when-using-btrfs.patch
+Patch543:       0543-Remove-00systemd-bootchart.patch
+Patch544:       0544-40network-Make-ip-dhcp-work.patch
+Patch545:       0545-Add-early-microcode-support-for-AMD-family-16h.patch
+Patch546:       0546-Support-Microcode-Updates-for-AMD-CPU-Family-0x17.patch
+Patch547:       0547-Fix-task-limit-in-emergency.service-the-same-change-.patch
+Patch548:       0548-95fcoe-Switch-back-to-using-fipvlan-for-bnx2fc.patch
+Patch549:       0549-fcoe-up-Increase-sleeptime-to-13s.patch
+Patch550:       0550-95fcoe-add-timeout-initqueue-entries.patch
 
 BuildRequires:  asciidoc
 BuildRequires:  bash
@@ -484,10 +493,18 @@
 %patch538 -p1
 %patch539 -p1
 %patch540 -p1
-%if 0%{?is_opensuse}
+%if 0%{?suse_version} && ! 0%{?sle_version} 
 %patch541 -p1
 %endif
 %patch542 -p1
+%patch543 -p1
+%patch544 -p1
+%patch545 -p1
+%patch546 -p1
+%patch547 -p1
+%patch548 -p1
+%patch549 -p1
+%patch550 -p1
 
 %build
 %configure\
@@ -501,7 +518,7 @@
 
 echo -e "#!/bin/bash\nDRACUT_VERSION=%{_pkg_version}-%{release}" > 
%{buildroot}/%{dracutlibdir}/dracut-version.sh
 
-# use 00systemd-bootchart instead
+# no longer needed, use the (built-in) systemd-analyze instead
 rm -fr %{buildroot}/%{dracutlibdir}/modules.d/00bootchart
 
 # not supported
@@ -670,7 +687,6 @@
 
 %dir %{dracutlibdir}/modules.d
 %{dracutlibdir}/modules.d/00bash
-%{dracutlibdir}/modules.d/00systemd-bootchart
 %{dracutlibdir}/modules.d/00warpclock
 %{dracutlibdir}/modules.d/00systemd
 %{dracutlibdir}/modules.d/01systemd-initrd

++++++ 0543-Remove-00systemd-bootchart.patch ++++++
>From d886567080bd53d2efcba43c89cdfb000ffd594b Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <[email protected]>
Date: Mon, 4 Dec 2017 15:55:12 +0100
Subject: [PATCH] Remove 00systemd-bootchart

This was removed from systemd almost two years ago in
c550f7a9b89d017215af084288bc44f736f774fe, so dracut should drop support
as well.

Reference: bsc#1067279
---
 modules.d/00systemd-bootchart/module-setup.sh | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100755 modules.d/00systemd-bootchart/module-setup.sh

diff --git a/modules.d/00systemd-bootchart/module-setup.sh 
b/modules.d/00systemd-bootchart/module-setup.sh
deleted file mode 100755
index dcf546e6..00000000
--- a/modules.d/00systemd-bootchart/module-setup.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-# called by dracut
-check() {
-    [[ "$mount_needs" ]] && return 1
-    require_binaries $systemdutildir/systemd-bootchart || return 1
-    return 255
-}
-
-# called by dracut
-depends() {
-    return 0
-}
-
-# called by dracut
-install() {
-    inst_symlink /init /sbin/init
-    inst_multiple $systemdutildir/systemd-bootchart
-}
-- 
2.13.6

++++++ 0544-40network-Make-ip-dhcp-work.patch ++++++
>From 9d4167efa9b6f093f1a37cb07bc744e763a5d292 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <[email protected]>
Date: Fri, 8 Dec 2017 09:51:47 +0100
Subject: [PATCH] 40network: Make ip=dhcp work

This fixes ip=dhcp to behave exactly like ip=<dev>:dhcp, as indicated
in the documentation.

Reference: bsc#1069163
---
 modules.d/40network/ifup.sh | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
index a684cba0..d9a418e5 100755
--- a/modules.d/40network/ifup.sh
+++ b/modules.d/40network/ifup.sh
@@ -497,6 +497,19 @@ if [ -z "$ip" ]; then
     fi
 fi
 
+bring_online() {
+    > /tmp/net.${netif}.up
+
+    if [ -e /sys/class/net/${netif}/address ]; then
+        > /tmp/net.$(cat /sys/class/net/${netif}/address).up
+    fi
+
+    setup_net $netif
+    source_hook initqueue/online $netif
+    if [ -z "$manualup" ]; then
+        /sbin/netroot $netif
+    fi
+}
 
 # Specific configuration, spin through the kernel command line
 # looking for ip= lines
@@ -555,17 +568,7 @@ for p in $(getargs ip=); do
     done
 
     if [ $? -eq 0 ]; then
-        > /tmp/net.${netif}.up
-
-        if [ -e /sys/class/net/${netif}/address ]; then
-            > /tmp/net.$(cat /sys/class/net/${netif}/address).up
-        fi
-
-        setup_net $netif
-        source_hook initqueue/online $netif
-        if [ -z "$manualup" ]; then
-            /sbin/netroot $netif
-        fi
+        bring_online
     fi
 done
 
@@ -593,6 +596,9 @@ if [ ! -e /tmp/net.${netif}.up ]; then
             do_dhcp -4
         fi
     fi
+    if [ $? -eq 0 ]; then
+        bring_online
+    fi
 fi
 
 if [ -e /tmp/net.${netif}.up ]; then
-- 
2.13.6

++++++ 0545-Add-early-microcode-support-for-AMD-family-16h.patch ++++++
>From 8bbdf5f5300fcb234a36fc83b8218b0f5be21b31 Mon Sep 17 00:00:00 2001
From: jonathan-teh <[email protected]>
Date: Sat, 29 Jul 2017 00:19:19 +0100
Subject: [PATCH 1/2] Add early microcode support for AMD family 16h

---
 dracut-functions.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dracut-functions.sh b/dracut-functions.sh
index ebe05a21..93a56f03 100755
--- a/dracut-functions.sh
+++ b/dracut-functions.sh
@@ -656,8 +656,10 @@ get_ucode_file ()
     local stepping=`grep -E "stepping" /proc/cpuinfo | head -1 | sed s/.*:\ //`
 
     if [[ "$(get_cpu_vendor)" == "AMD" ]]; then
-        # If family greater or equal than 0x15
-        if [[ $family -ge 21 ]]; then
+        # If family greater than or equal to 0x16
+        if [[ $family -ge 22 ]]; then
+            printf "microcode_amd_fam16h.bin"
+        elif [[ $family -eq 21 ]]; then
             printf "microcode_amd_fam15h.bin"
         else
             printf "microcode_amd.bin"
-- 
2.13.6

++++++ 0546-Support-Microcode-Updates-for-AMD-CPU-Family-0x17.patch ++++++
>From e725f7e919c286c93ee720aefb91ae231f89ec87 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <[email protected]>
Date: Tue, 12 Dec 2017 17:48:36 +0100
Subject: [PATCH 2/2] Support Microcode Updates for AMD CPU Family 0x17

Original-Patch-By: Tom Lendacky <[email protected]>
---
 dracut-functions.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dracut-functions.sh b/dracut-functions.sh
index 93a56f03..7dcbef7c 100755
--- a/dracut-functions.sh
+++ b/dracut-functions.sh
@@ -656,8 +656,10 @@ get_ucode_file ()
     local stepping=`grep -E "stepping" /proc/cpuinfo | head -1 | sed s/.*:\ //`
 
     if [[ "$(get_cpu_vendor)" == "AMD" ]]; then
-        # If family greater than or equal to 0x16
-        if [[ $family -ge 22 ]]; then
+        # If family greater than or equal to 0x17
+        if [[ $family -ge 23 ]]; then
+            printf "microcode_amd_fam17h.bin"
+        elif [[ $family -eq 22 ]]; then
             printf "microcode_amd_fam16h.bin"
         elif [[ $family -eq 21 ]]; then
             printf "microcode_amd_fam15h.bin"
-- 
2.13.6

++++++ 0547-Fix-task-limit-in-emergency.service-the-same-change-.patch ++++++
>From e6e429407845cefe1305315ede997d961f486f99 Mon Sep 17 00:00:00 2001
From: Lidong Zhong <[email protected]>
Date: Tue, 5 Sep 2017 16:40:14 +0200
Subject: [PATCH] Fix task limit in emergency.service (the same change as in
 dracut-emergency.service) (bsc#1019938)

---
 modules.d/98dracut-systemd/emergency.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules.d/98dracut-systemd/emergency.service 
b/modules.d/98dracut-systemd/emergency.service
index 969a300e..d8bc779a 100644
--- a/modules.d/98dracut-systemd/emergency.service
+++ b/modules.d/98dracut-systemd/emergency.service
@@ -28,6 +28,7 @@ StandardOutput=inherit
 StandardError=inherit
 KillMode=process
 IgnoreSIGPIPE=no
+TasksMax=infinity
 
 # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
 # terminates cleanly.
-- 
2.13.6

++++++ 0548-95fcoe-Switch-back-to-using-fipvlan-for-bnx2fc.patch ++++++
>From 9353f7e22da71f16a070cb27c139817ba04879c5 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <[email protected]>
Date: Thu, 17 Aug 2017 10:54:22 +0200
Subject: [PATCH 1/3] 95fcoe: Switch back to using fipvlan for bnx2fc

bnx2fc doesn't _actually_ need fcoemon, so fipvlan is sufficient
to start the FCoE connection.
And, in fact, fcoemon is started for every interface, causing
subsequent invocations to fail with

fcoemon[1157]: error 98 address already in use

and fcoemon tearing down the connection.

References: bsc#1052840

Signed-off-by: Hannes Reinecke <[email protected]>
---
 modules.d/95fcoe/fcoe-up.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh
index 74bdf819..261bf70c 100755
--- a/modules.d/95fcoe/fcoe-up.sh
+++ b/modules.d/95fcoe/fcoe-up.sh
@@ -57,7 +57,11 @@ if [ "$netdriver" = "bnx2x" ]; then
     udevadm settle --timeout=30
     # Sleep for 3 s to allow dcb negotiation
     sleep 3
-elif [ "$dcb" = "dcb" ]; then
+    fipvlan "$netif" -c -s
+    need_shutdown
+    exit
+fi
+if [ "$dcb" = "dcb" ]; then
     # wait for lldpad to be ready
     i=0
     while [ $i -lt 60 ]; do
-- 
2.13.6

++++++ 0549-fcoe-up-Increase-sleeptime-to-13s.patch ++++++
>From be4084fa2c097cd4b0ca870501e1a9628141de07 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <[email protected]>
Date: Thu, 12 Oct 2017 13:38:11 +0200
Subject: [PATCH 2/3] fcoe-up: Increase sleeptime to 13s

The bnx2 driver requires some time to complete DCB negotiation,
so we should rather increase the sleep time to avoid FCoE not
being able to start correctly.

References: bsc#1052840

Signed-off-by: Hannes Reinecke <[email protected]>
---
 modules.d/95fcoe/fcoe-up.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh
index 261bf70c..21947447 100755
--- a/modules.d/95fcoe/fcoe-up.sh
+++ b/modules.d/95fcoe/fcoe-up.sh
@@ -55,8 +55,8 @@ if [ "$netdriver" = "bnx2x" ]; then
     # If driver is bnx2x, do not use /sys/module/fcoe/parameters/create but 
fipvlan
     modprobe 8021q
     udevadm settle --timeout=30
-    # Sleep for 3 s to allow dcb negotiation
-    sleep 3
+    # Sleep for 13 s to allow dcb negotiation
+    sleep 13
     fipvlan "$netif" -c -s
     need_shutdown
     exit
-- 
2.13.6

++++++ 0550-95fcoe-add-timeout-initqueue-entries.patch ++++++
>From 853356a0d72e5c1a3cc69b9eb09dff66f6e20647 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <[email protected]>
Date: Wed, 13 Sep 2017 09:42:01 +0200
Subject: [PATCH] 95fcoe: add timeout initqueue entries

Occasionally the FCoE connection might be reset after fipvlan was
called, causing the FCoE connection to be dropped and boot to fail.
For these cases we should be adding a timeout entry for the
initqueue to have a failsave mechanism to re-run fipvlan in
these cases.

References: bsc#1052840

Signed-off-by: Hannes Reinecke <[email protected]>
---
 modules.d/95fcoe/fcoe-genrules.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules.d/95fcoe/fcoe-genrules.sh 
b/modules.d/95fcoe/fcoe-genrules.sh
index 5b16cb0d..445a09c2 100755
--- a/modules.d/95fcoe/fcoe-genrules.sh
+++ b/modules.d/95fcoe/fcoe-genrules.sh
@@ -8,7 +8,9 @@
 {
     if [ -n "$fcoe_mac" ] ; then
         printf 'ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="%s", 
RUN+="/sbin/initqueue --onetime --unique --name fcoe-up-$env{INTERFACE} 
/sbin/fcoe-up $env{INTERFACE} %s %s"\n' "$fcoe_mac" "$fcoe_dcb" "$fcoe_mode"
+        printf 'ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="%s", 
RUN+="/sbin/initqueue --onetime --timeout --unique --name 
fcoe-timeout-$env{INTERFACE} /sbin/fcoe-up $env{INTERFACE} %s %s"\n' 
"$fcoe_mac" "$fcoe_dcb" "$fcoe_mode"
     else
         printf 'ACTION=="add", SUBSYSTEM=="net", NAME=="%s", 
RUN+="/sbin/initqueue --onetime --unique --name fcoe-up-$env{INTERFACE} 
/sbin/fcoe-up $env{INTERFACE} %s %s"\n' "$fcoe_interface" "$fcoe_dcb" 
"$fcoe_mode"
+        printf 'ACTION=="add", SUBSYSTEM=="net", NAME=="%s", 
RUN+="/sbin/initqueue --onetime --timeout --unique --name 
fcoe-timeout-$env{INTERFACE} /sbin/fcoe-up $env{INTERFACE} %s %s"\n' 
"$fcoe_interface" "$fcoe_dcb" "$fcoe_mode"
     fi
 } >> /etc/udev/rules.d/92-fcoe.rules
-- 
2.13.6


Reply via email to