From 254889ca3a6f74a5810cfea3e9b7a18456a18397951225e45ba979b6ff257bc7 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Wed, 24 Mar 2010 16:43:18 +0000 Subject: [PATCH] Accepting request 35699 from home:michal-m:branches:Base:System Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 35699 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/35699 OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=18 --- 64-md-raid.rules | 2 +- mdadm.changes | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/64-md-raid.rules b/64-md-raid.rules index deccce4..a2fe2d0 100644 --- a/64-md-raid.rules +++ b/64-md-raid.rules @@ -4,7 +4,7 @@ SUBSYSTEM!="block", GOTO="md_end" ACTION!="add|change", GOTO="md_end" # import data from a raid member and activate it -ENV{ID_FS_TYPE}=="linux_raid_member", PROGRAM="grep -qs '^AUTO -all' /etc/mdadm.conf", IMPORT{program}="/sbin/mdadm --examine --export $tempnode", RUN+="/sbin/mdadm --incremental $env{DEVNAME}" +ENV{ID_FS_TYPE}=="linux_raid_member", PROGRAM="/bin/grep -qs '^AUTO -all' /etc/mdadm.conf", IMPORT{program}="/sbin/mdadm --examine --export $tempnode", RUN+="/sbin/mdadm --incremental $env{DEVNAME}" # import data from a raid set KERNEL!="md*", GOTO="md_end" diff --git a/mdadm.changes b/mdadm.changes index 1924950..8922746 100644 --- a/mdadm.changes +++ b/mdadm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 24 17:37:27 CET 2010 - mmarek@suse.cz + +- 64-md-raid.rules: Use absolute path to grep, otherwise udev will + only search in /lib/udev (bnc#590832). + ------------------------------------------------------------------- Tue Mar 23 14:49:38 CET 2010 - mmarek@suse.cz