Hello community, here is the log from the commit of package dracut for openSUSE:Factory checked in at 2017-09-09 20:23:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dracut (Old) and /work/SRC/openSUSE:Factory/.dracut.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dracut" Sat Sep 9 20:23:40 2017 rev:113 rq:521992 version:044.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2017-08-22 11:07:05.925752249 +0200 +++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes 2017-09-09 20:23:44.725680143 +0200 @@ -1,0 +2,17 @@ +Tue Aug 29 13:46:38 UTC 2017 - [email protected] + +- 90multipath: Remove compat rule that is no longer needed (bsc#1054539) + * adds 0536-90multipath-drop-67-kpartx-compat.rules.patch + +- Don't detect crc32.ko as built-in (bsc#1054538) + * adds 0537-dracut-init.sh-ignore-crc32.ko-in-builtin-test.patch + +- Enable systemd-based core dumps for initrd (bsc#1054809) + * adds 0538-Enable-core-dumps-with-systemd-from-initrd.patch + +------------------------------------------------------------------- +Mon Aug 28 13:42:33 UTC 2017 - [email protected] + +- Add missing coreutils dependency for initrd macros (bsc#1055492). + +------------------------------------------------------------------- New: ---- 0536-90multipath-drop-67-kpartx-compat.rules.patch 0537-dracut-init.sh-ignore-crc32.ko-in-builtin-test.patch 0538-Enable-core-dumps-with-systemd-from-initrd.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dracut.spec ++++++ --- /var/tmp/diff_new_pack.4XLu3O/_old 2017-09-09 20:23:46.909372344 +0200 +++ /var/tmp/diff_new_pack.4XLu3O/_new 2017-09-09 20:23:46.913371781 +0200 @@ -217,6 +217,9 @@ Patch533: 0533-instmods-check-modules.builtin-in-srcmods.patch Patch534: 0534-ssh-client-Include-nss_-libraries.patch Patch535: 0535-Sync-initramfs-after-creation.patch +Patch536: 0536-90multipath-drop-67-kpartx-compat.rules.patch +Patch537: 0537-dracut-init.sh-ignore-crc32.ko-in-builtin-test.patch +Patch538: 0538-Enable-core-dumps-with-systemd-from-initrd.patch BuildRequires: asciidoc BuildRequires: bash @@ -228,6 +231,7 @@ Requires: bash # systemd-sysvinit provides: poweroff, reboot, halt Requires: coreutils +Requires(post): coreutils Requires: cpio Requires: elfutils Requires: file @@ -260,6 +264,7 @@ %package fips Summary: Dracut modules to build a dracut initramfs with an integrity check Group: System/Base +Requires(post): coreutils Requires: %{name} = %{version}-%{release} Requires: fipscheck Requires: libcryptsetup4-hmac @@ -459,6 +464,9 @@ %patch533 -p1 %patch534 -p1 %patch535 -p1 +%patch536 -p1 +%patch537 -p1 +%patch538 -p1 %build %configure\ ++++++ 0536-90multipath-drop-67-kpartx-compat.rules.patch ++++++ >From 684d83b9492b8a8323f4b99d4384e56c7c7b3580 Mon Sep 17 00:00:00 2001 From: Martin Wilck <[email protected]> Date: Mon, 14 Aug 2017 16:43:45 +0200 Subject: [PATCH 1/2] 90multipath: drop 67-kpartx-compat.rules This file is obsolete in SLE-15 and Factory. Reference: bsc#1054539 --- modules.d/90multipath/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh index 4f342c89..85848068 100755 --- a/modules.d/90multipath/module-setup.sh +++ b/modules.d/90multipath/module-setup.sh @@ -118,7 +118,7 @@ install() { inst_rules 40-multipath.rules 56-multipath.rules \ 62-multipath.rules 65-multipath.rules \ - 66-kpartx.rules 67-kpartx-compat.rules \ + 66-kpartx.rules \ 11-dm-mpath.rules } -- 2.12.3 ++++++ 0537-dracut-init.sh-ignore-crc32.ko-in-builtin-test.patch ++++++ >From c909fcc8e1b34098e2ec58cd585df0dbb8c3ec3c Mon Sep 17 00:00:00 2001 From: Martin Wilck <[email protected]> Date: Wed, 19 Jul 2017 01:25:13 +0200 Subject: [PATCH 2/2] dracut-init.sh: ignore crc32.ko in builtin test crc32.ko exists twice in certain kernels (e.g. SLE12): as /kernel/lib/crc32.ko (SLE12: builtin) and as kernel/crypto/crc32.ko (SLE12: module). When the latter module is necessary, dracut falsely classifies it as builtin. Fix that. Reference: bsc#1054538 --- dracut-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-init.sh b/dracut-init.sh index 3f30cc9c..65597ffa 100644 --- a/dracut-init.sh +++ b/dracut-init.sh @@ -1137,7 +1137,7 @@ instmods() { return 0 fi - if grep -q "/${_mod}.ko" $srcmods/modules.builtin; then + if [[ ${_mod} != crc32 ]] && grep -q "/${_mod}.ko" $srcmods/modules.builtin; then # Module is built-in return 0 fi -- 2.12.3 ++++++ 0538-Enable-core-dumps-with-systemd-from-initrd.patch ++++++ >From c15c37986d9387c7f7d1020bd7ca17f890ae6276 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <[email protected]> Date: Tue, 29 Aug 2017 08:46:07 +0200 Subject: [PATCH] Enable core dumps with systemd from initrd systemd sets /proc/sys/kernel/core_pattern to use systemd-coredump. However, systemd-coredump is missing from initrd, making dumping the core in initrd impossible by default. Reference: bsc#1054809 --- modules.d/00systemd/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh index 86728208..14b3ab07 100755 --- a/modules.d/00systemd/module-setup.sh +++ b/modules.d/00systemd/module-setup.sh @@ -33,6 +33,7 @@ install() { inst_multiple -o \ $systemdutildir/systemd \ + $systemdutildir/systemd-coredump \ $systemdutildir/systemd-cgroups-agent \ $systemdutildir/systemd-shutdown \ $systemdutildir/systemd-reply-password \ -- 2.12.3
