2014-06-30 21:43:27 +02:00
|
|
|
From c9af1be90db5a29ac86605c67bc2bb4bc5780520 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
|
|
Date: Thu, 12 Jun 2014 12:25:03 +0200
|
|
|
|
Subject: [PATCH] 99-systemd.rules: Ignore devices with 'SYSTEMD_READY=0'
|
|
|
|
|
|
|
|
Whenever a rule sets 'SYSTEMD_READY=0' it tries to indicate
|
|
|
|
that systemd should ignore this device. So we should not
|
|
|
|
set the 'systemd' tag in these cases; otherwise systemd
|
|
|
|
will pick up the device.
|
|
|
|
|
|
|
|
References: bnc#881942
|
|
|
|
|
|
|
|
Signed-off-by: Hannes Reinecke <hare@suse.de>
|
|
|
|
---
|
2015-09-27 14:32:31 +02:00
|
|
|
rules/99-systemd.rules.in | 1 +
|
2014-06-30 21:43:27 +02:00
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2015-09-27 14:32:31 +02:00
|
|
|
Index: systemd-221/rules/99-systemd.rules.in
|
|
|
|
===================================================================
|
|
|
|
--- systemd-221.orig/rules/99-systemd.rules.in
|
|
|
|
+++ systemd-221/rules/99-systemd.rules.in
|
|
|
|
@@ -10,6 +10,7 @@ ACTION=="remove", GOTO="systemd_end"
|
|
|
|
SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty*", TAG+="systemd"
|
2014-06-30 21:43:27 +02:00
|
|
|
KERNEL=="vport*", TAG+="systemd"
|
|
|
|
|
2015-09-27 14:32:31 +02:00
|
|
|
+SUBSYSTEM=="block", ENV{SYSTEMD_READY}=="0", GOTO="systemd_end"
|
|
|
|
SUBSYSTEM=="block", TAG+="systemd"
|
|
|
|
SUBSYSTEM=="block", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"
|
2014-06-30 21:43:27 +02:00
|
|
|
|