]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - udev-md-raid.rules
Manage: split out attempt_re_add.
[thirdparty/mdadm.git] / udev-md-raid.rules
index f564f70af7b4a5512c09668887591fcfc7792fbe..814c89720be4e2188c80601dbf17efb39d1ca301 100644 (file)
@@ -28,7 +28,7 @@ ENV{DEVTYPE}=="partition", GOTO="md_ignore_state"
 # never leave state 'inactive'
 ATTR{md/metadata_version}=="external:[A-Za-z]*", ATTR{md/array_state}=="inactive", GOTO="md_ignore_state"
 TEST!="md/array_state", GOTO="md_end"
-ATTR{md/array_state}=="|clear|inactive", GOTO="md_end"
+ATTR{md/array_state}=="|clear|inactive", ENV{SYSTEMD_READY}="0", GOTO="md_end"
 LABEL="md_ignore_state"
 
 IMPORT{program}="/sbin/mdadm --detail --export $tempnode"