fc3ae7490c
- Update to new upstream release 221 OBS-URL: https://build.opensuse.org/request/show/313261 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=875
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
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>
|
|
---
|
|
rules/99-systemd.rules.in | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
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"
|
|
KERNEL=="vport*", TAG+="systemd"
|
|
|
|
+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"
|
|
|