diff options
author | NeilBrown <neilb@suse.de> | 2013-12-12 03:20:32 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-12-12 03:20:32 +0100 |
commit | 79d8213f29046c9b184f9cb4af87878f937e10a9 (patch) | |
tree | 149add49cdee969988433d0dd465c48a1c2bc3be /systemd | |
parent | udev rules: try "mdadm -I" on "change" events. (diff) | |
download | mdadm-79d8213f29046c9b184f9cb4af87878f937e10a9.tar.xz mdadm-79d8213f29046c9b184f9cb4af87878f937e10a9.zip |
mdamd-last-resort: add a Conflicts line to stop the timer.
When the md device actually appears we want to stop the timer and not
bother with the mdadm-last-resort@.server. In particular, running
that causes confusing messages and is in general best avoided.
Fortuantely this can simply be achieved with a Conflicts= line
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/mdadm-last-resort@.timer | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/mdadm-last-resort@.timer b/systemd/mdadm-last-resort@.timer index 6a1cd568..52b3f227 100644 --- a/systemd/mdadm-last-resort@.timer +++ b/systemd/mdadm-last-resort@.timer @@ -1,6 +1,7 @@ [Unit] Description=Timer to wait for more drives before activating degraded array. DefaultDependencies=no +Conflicts=sys-devices-virtual-block-%i.device [Timer] OnActiveSec=30 |