commit dracut for openSUSE:Factory
Hello community, here is the log from the commit of package dracut for openSUSE:Factory checked in at 2017-02-26 17:00:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dracut (Old) and /work/SRC/openSUSE:Factory/.dracut.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dracut" Changes: -------- --- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2017-02-03 17:36:02.278825050 +0100 +++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes 2017-02-26 17:00:43.457551821 +0100 @@ -1,0 +2,19 @@ +Wed Feb 8 16:55:16 UTC 2017 - daniel.molkentin@suse.com + +- 90multipath: 90multipath: start before local-fs-pre.target + (bsc#1005410, bsc#1006118, bsc#1007925) + * add 0508-90multipath-start-before-local-fs-pre.target.patch + +------------------------------------------------------------------- +Fri Feb 3 14:46:26 UTC 2017 - daniel.molkentin@suse.com + +- unlimit TaskMax for xfs_repair in emergency shell (bsc#1019938) + * add 0507-Set-TaskMax-inifinite-for-the-emergency-shell.patch + +------------------------------------------------------------------- +Thu Feb 2 12:20:55 UTC 2017 - daniel.molkentin@suse.com + +- Boot on s390x with fips=1 on the kernel commnad line (bnc#1021687) + * add 0506-Boot-on-s390x-with-fips-1-on-the-kernel-commnad-line.patch + +------------------------------------------------------------------- @@ -4 +23 @@ -- Allow booting from degrated MD arrays with systemd +- Allow booting from degrated MD arrays with systemd (bsc#1017695) New: ---- 0506-Boot-on-s390x-with-fips-1-on-the-kernel-commnad-line.patch 0507-Set-TaskMax-inifinite-for-the-emergency-shell.patch 0508-90multipath-start-before-local-fs-pre.target.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dracut.spec ++++++ --- /var/tmp/diff_new_pack.zWDwKO/_old 2017-02-26 17:00:47.304968231 +0100 +++ /var/tmp/diff_new_pack.zWDwKO/_new 2017-02-26 17:00:47.308967624 +0100 @@ -83,6 +83,7 @@ Patch160: 0160-s390-update_active_devices_initrd.patch Patch161: 0161-95zfcp_rules-simplified-rd.zfcp-commandline-for-NPIV.patch Patch188: 0188-95dasd_rules-Install-collect-udev-helper-binary.patch +Patch506: 0506-Boot-on-s390x-with-fips-1-on-the-kernel-commnad-line.patch #FIPS Patch53: 0053-01fips-fixup-loading-issues.patch @@ -183,6 +184,8 @@ Patch503: 0503-dracut.sh-create-the-initramfs-non-world-readable-al.patch Patch504: 0504-ibft-fix-boot-flag-check.patch Patch505: 0505-Allow-booting-from-degraded-MD-RAID-arrays.patch +Patch507: 0507-Set-TaskMax-inifinite-for-the-emergency-shell.patch +Patch508: 0508-90multipath-start-before-local-fs-pre.target.patch BuildRequires: asciidoc BuildRequires: bash @@ -391,6 +394,10 @@ %patch504 -p1 %patch505 -p1 +%patch506 -p1 +%patch507 -p1 +%patch508 -p1 + %build %configure\ --systemdsystemunitdir=%{_unitdir}\ ++++++ 0506-Boot-on-s390x-with-fips-1-on-the-kernel-commnad-line.patch ++++++
From e9e5b0424648bc0d81e865d1fe54d10639a10182 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <dmolkentin@suse.com> Date: Thu, 2 Feb 2017 12:41:25 +0100 Subject: [PATCH] Boot on s390x with fips=1 on the kernel commnad line
On s390, the kernel image that is bootet from is called 'image'. (bnc#1021687) Original-Patch-By: Marcus Meissner <meissner@suse.de> --- modules.d/01fips/fips.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/modules.d/01fips/fips.sh b/modules.d/01fips/fips.sh index f33481a..055093a 100755 --- a/modules.d/01fips/fips.sh +++ b/modules.d/01fips/fips.sh @@ -73,11 +73,17 @@ do_fips() local _s local _v local _module + local _arch=$(uname -m) + local _vmname=vmlinuz + + if [ "$_arch" == "s390x" ]; then + _vmname=image + fi KERNEL=$(uname -r) - if ! [ -e "/boot/.vmlinuz-${KERNEL}.hmac" ]; then - warn "/boot/.vmlinuz-${KERNEL}.hmac does not exist" + if ! [ -e "/boot/.${_vmname}-${KERNEL}.hmac" ]; then + warn "/boot/.${_vname}-${KERNEL}.hmac does not exist" return 1 fi @@ -125,7 +131,7 @@ do_fips() elif [ -e "/run/initramfs/live/isolinux/vmlinuz0" ]; then do_rhevh_check /run/initramfs/live/isolinux/vmlinuz0 || return 1 else - fipscheck "/boot/vmlinuz-${KERNEL}" || return 1 + fipscheck "/boot/${_vmname}-${KERNEL}" || return 1 fi info "All initrd crypto checks done" -- 2.10.2 ++++++ 0507-Set-TaskMax-inifinite-for-the-emergency-shell.patch ++++++
From efc65e27554cfb2278dd46eba0e6cba0b58b7e35 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <dmolkentin@suse.com> Date: Fri, 20 Jan 2017 10:57:40 +0100 Subject: [PATCH] Set TaskMax=inifinite for the emergency shell
Certain rescue/recovery operations, e.g. xfs_repair need that liberty (bsc#1019938). --- modules.d/98dracut-systemd/dracut-emergency.service | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/98dracut-systemd/dracut-emergency.service b/modules.d/98dracut-systemd/dracut-emergency.service index a523671..620b565 100644 --- a/modules.d/98dracut-systemd/dracut-emergency.service +++ b/modules.d/98dracut-systemd/dracut-emergency.service @@ -27,6 +27,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.10.2 ++++++ 0508-90multipath-start-before-local-fs-pre.target.patch ++++++
From 172a873a599bbea5546b64fe12802aa903a0738c Mon Sep 17 00:00:00 2001 From: Martin Wilck <mwilck@suse.de> Date: Thu, 3 Nov 2016 20:37:01 +0100 Subject: [PATCH] 90multipath: start before local-fs-pre.target
local-fs-pre.target serves as a separator between the code for detecting block devices and systemd's fsck/mount logic. This patch ensures that multipathd is started before local-fs-pre.target in the initrd. By adding a "Wants=" line for local-fs-pre.target, it makes sure that this target is started at all. References: bsc#1006118 Signed-off-by: Martin Wilck <mwilck@suse.de> =================================================================== --- modules.d/90multipath/multipathd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/90multipath/multipathd.service b/modules.d/90multipath/multipathd.service index ab42740..0554d95 100644 --- a/modules.d/90multipath/multipathd.service +++ b/modules.d/90multipath/multipathd.service @@ -1,8 +1,9 @@ [Unit] Description=Device-Mapper Multipath Device Controller Before=iscsi.service iscsid.service lvm2-activation-early.service -Wants=systemd-udev-trigger.service systemd-udev-settle.service +Wants=systemd-udev-trigger.service systemd-udev-settle.service local-fs-pre.target After=systemd-udev-trigger.service systemd-udev-settle.service +Before=local-fs-pre.target DefaultDependencies=no Conflicts=shutdown.target ConditionKernelCommandLine=!nompath -- 2.10.2
participants (1)
-
root@hilbertn.suse.de