| |
@@ -25,7 +25,7 @@
|
| |
# anything here, just regular disks, and this also won't get any imsm
|
| |
# array members either)
|
| |
SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \
|
| |
- IMPORT{program}="/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot ${DEVLINKS}"
|
| |
+ IMPORT{program}="/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot $${DEVLINKS}"
|
| |
SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \
|
| |
ENV{MD_STARTED}=="*unsafe*", ENV{MD_FOREIGN}=="no", ENV{SYSTEMD_WANTS}+="mdadm-last-resort@$env{MD_DEVICE}.timer"
|
| |
SUBSYSTEM=="block", ACTION=="remove", ENV{ID_PATH}=="?*", \
|
| |
This is a backport of https://src.fedoraproject.org/rpms/mdadm/c/3665f779901e70baadb7655d7270929c98d4aa00?branch=rawhide to fix the
udev error on boot. Originally reported in https://pagure.io/centos-sig-hyperscale/sig/issue/24.