Hello community,
here is the log from the commit of package dracut for openSUSE:Factory checked in at 2018-11-06 15:35:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dracut (Old)
and /work/SRC/openSUSE:Factory/.dracut.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dracut"
Tue Nov 6 15:35:21 2018 rev:130 rq:645917 version:044.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2018-10-25 08:11:12.796232375 +0200
+++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes 2018-11-06 15:35:26.103607416 +0100
@@ -1,0 +2,15 @@
+Wed Oct 31 09:57:55 UTC 2018 - Daniel Molkentin
From e9a84e0a215fb5a79e563f665bc406c0ea177d32 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin
Date: Wed, 5 Sep 2018 12:06:06 +0200 Subject: [PATCH] 98dracut-systemd: Start systemd-vconsole-setup before dracut-cmdline-ask
This is what happened before this patch (edited for brevity): dracut-cmdline-ask.service in modules.d/98dracut-systemd, which invokes dracut-cmdline-ask.sh. This script and systemd-vconsole-setup are started in parallel for the same console (tty1). Then dracut-cmdline-ask quits immediately without doing anything (unless rd.cmdline=ask is given). As this is a bash script and it gets tty as stdin as specified in its *.service, this triggers the hangup of tty1 at its exit. Meanwhile systemd-vconsole-setup continues and tries some ioctls after that, but they fail because of the hung up tty1. The usual culprit for starting systemd-vconsole-setup early on is plymouth-start.service, even if plymouth.enable=0 is set. A popular (and annoying) symptom of this as reported by users was the inability use their configured keyboard layout in plymouth when unlocking their crypted block devices. Reference: boo#1055834 --- modules.d/98dracut-systemd/dracut-cmdline-ask.service | 2 ++ 1 file changed, 2 insertions(+) Index: dracut-044/modules.d/98dracut-systemd/dracut-cmdline-ask.service =================================================================== --- dracut-044.orig/modules.d/98dracut-systemd/dracut-cmdline-ask.service +++ dracut-044/modules.d/98dracut-systemd/dracut-cmdline-ask.service @@ -12,6 +12,8 @@ Description=dracut ask for additional cm DefaultDependencies=no Before=dracut-cmdline.service After=systemd-journald.socket +After=systemd-vconsole-setup.service +Requires=systemd-vconsole-setup.service Wants=systemd-journald.socket ConditionPathExists=/usr/lib/initrd-release ConditionKernelCommandLine=|rd.cmdline=ask ++++++ 0583-99base-Allow-files-with-backslashes-in-hostonly-file.patch ++++++
From 7117bf627028298970d8a6a5e153e1942f3430f3 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin
Date: Fri, 19 Oct 2018 14:30:36 +0200 Subject: [PATCH 1/2] 99base: Allow files with backslashes in hostonly files
Files with blackslashes are routinely by systemd. Reference: bsc#1090884 --- modules.d/99base/dracut-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: dracut-044/modules.d/99base/dracut-lib.sh =================================================================== --- dracut-044.orig/modules.d/99base/dracut-lib.sh +++ dracut-044/modules.d/99base/dracut-lib.sh @@ -1291,7 +1291,7 @@ show_memstats() remove_hostonly_files() { rm -fr /etc/cmdline /etc/cmdline.d/*.conf "$hookdir/initqueue/finished" if [ -f /lib/dracut/hostonly-files ]; then - while read line || [ -n "$line" ]; do + while read -r line || [ -n "$line" ]; do [ -e "$line" ] || [ -h "$line" ] || continue rm -f "$line" done < /lib/dracut/hostonly-files ++++++ 0584-95dasd_rules-mark-dasd-rules-host_only.patch ++++++
From b38b7fef36333a59890233dccfbbb6d2c40ebe83 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin
Date: Fri, 19 Oct 2018 14:39:30 +0200 Subject: [PATCH 2/2] 95dasd_rules: mark dasd rules host_only
Reference: bsc#1090884 --- modules.d/95dasd_rules/module-setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules.d/95dasd_rules/module-setup.sh b/modules.d/95dasd_rules/module-setup.sh index 488400c3..124dbad9 100755 --- a/modules.d/95dasd_rules/module-setup.sh +++ b/modules.d/95dasd_rules/module-setup.sh @@ -54,6 +54,8 @@ install() { if [[ $hostonly ]] ; then inst_rules_wildcard 51-dasd-*.rules inst_rules_wildcard 41-s390x-dasd-*.rules + mark_hostonly /etc/udev/rules.d/51-dasd-*.rules + mark_hostonly /etc/udev/rules.d/41-s390x-dasd-*.rules fi inst_rules 59-dasd.rules } -- 2.16.4