summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-30 20:27:52 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-30 20:30:49 +0200
commit44b5651f19b60a84dbfdbb0ea13196b784080c8b (patch)
treef80d1d642685663777015e8921adcf2fcd16be23
parent73fcda2737ac607a265b3e1382e9d4fb4607c20f (diff)
rules/99-systemd.rules.in: ENV{SYSTEMD_READY}="0" for incomplete md
-rw-r--r--rules/99-systemd.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
index eb8ea0dc97..7709ed8869 100644
--- a/rules/99-systemd.rules.in
+++ b/rules/99-systemd.rules.in
@@ -16,10 +16,10 @@ SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=
# Ignore encrypted devices with no identified superblock on it, since
# we are probably still calling mke2fs or mkswap on it.
-
SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV{SYSTEMD_READY}="0"
# Ignore raid devices that are not yet assembled and started
+SUBSYSTEM=="block", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}="0"
SUBSYSTEM=="block", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", ENV{SYSTEMD_READY}="0"
# We need a hardware independent way to identify network devices. We