Use DM_UDEV_DISABLE_OTHER_RULES_FLAG in rules files
Resolves bz1015514 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
parent
2971b66bcb
commit
a73c68d519
@ -50,7 +50,7 @@ LABEL="md_imsm_inc_end"
|
|||||||
|
|
||||||
# Next make sure that this isn't a dm device we should skip for some reason
|
# Next make sure that this isn't a dm device we should skip for some reason
|
||||||
ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="dm_change_end"
|
ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="dm_change_end"
|
||||||
ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="dm_change_end"
|
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="dm_change_end"
|
||||||
ENV{DM_SUSPENDED}=="1", GOTO="dm_change_end"
|
ENV{DM_SUSPENDED}=="1", GOTO="dm_change_end"
|
||||||
KERNEL=="dm-*", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="linux_raid_member", \
|
KERNEL=="dm-*", SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="linux_raid_member", \
|
||||||
ACTION=="change", RUN+="/sbin/mdadm -I $env{DEVNAME}"
|
ACTION=="change", RUN+="/sbin/mdadm -I $env{DEVNAME}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
||||||
Name: mdadm
|
Name: mdadm
|
||||||
Version: 3.3
|
Version: 3.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz
|
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz
|
||||||
Source1: mdmonitor.init
|
Source1: mdmonitor.init
|
||||||
Source2: raid-check
|
Source2: raid-check
|
||||||
@ -104,6 +104,11 @@ rm -rf %{buildroot}
|
|||||||
/etc/libreport/events.d/*
|
/etc/libreport/events.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 9 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3-3
|
||||||
|
- Check for DM_UDEV_DISABLE_OTHER_RULES_FLAG instead of
|
||||||
|
DM_UDEV_DISABLE_DISK_RULES_FLAG in 65-md-incremental.rules
|
||||||
|
- Resolves bz1015521
|
||||||
|
|
||||||
* Tue Oct 8 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3-2
|
* Tue Oct 8 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3-2
|
||||||
- Fix dracut requirement, minimum version 034-1
|
- Fix dracut requirement, minimum version 034-1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user