From 46f3156426e1b770e4876a654738e1c3e01851af Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Fri, 26 Jun 2020 18:50:47 +0200 Subject: [PATCH] 91zipl: parse-zipl.sh: honor SYSTEMD_READY The zipl partition should not be mounted if SYSTEMD_READY=0 is set. Otherwise booting issues with multipath will result. --- modules.d/91zipl/parse-zipl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/91zipl/parse-zipl.sh b/modules.d/91zipl/parse-zipl.sh index 308f228b..ddab0ea9 100755 --- a/modules.d/91zipl/parse-zipl.sh +++ b/modules.d/91zipl/parse-zipl.sh @@ -31,7 +31,7 @@ if [ -n "$zipl_arg" ] ; then esac if [ "$zipl_env" ] ; then { - printf 'ACTION=="add|change", SUBSYSTEM=="block", %s=="%s", RUN+="/sbin/initqueue --settled --onetime --unique --name install_zipl_cmdline /sbin/install_zipl_cmdline.sh %s"\n' \ + printf 'ACTION=="add|change", SUBSYSTEM=="block", %s=="%s", ENV{SYSTEMD_READY}!="0", RUN+="/sbin/initqueue --settled --onetime --unique --name install_zipl_cmdline /sbin/install_zipl_cmdline.sh %s"\n' \ ${zipl_env} ${zipl_val} ${zipl_arg} echo "[ -f /tmp/install.zipl.cmdline-done ]" >$hookdir/initqueue/finished/wait-zipl-conf.sh } >> /etc/udev/rules.d/99zipl-conf.rules