Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
mdadm
0199-systemd-add-I-to-description-of-mdadm-last...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0199-systemd-add-I-to-description-of-mdadm-last-resort-se.patch of Package mdadm
From 3d6a7c8472497c076702b76f63d0f84af1a3105e Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.com> Date: Mon, 30 Oct 2017 11:42:15 +1100 Subject: [PATCH] systemd: add %I to description of mdadm-last-resort services. Git-commit: 3d6a7c8472497c076702b76f63d0f84af1a3105e Patch-mainline: mdadm-4.0+ References: bsc#1069165, bsc#1069167, bsc#1068030 Just like the other template services, include the instance name (I%) in the description of mdadm-last-resort@.service mdadm-last-resort@.timer so that it is clear from the logs which array is affected. Reported-by: Andrei Borzenkov <arvidjaar@gmail.com> Link: http://bugzilla.opensuse.org/show_bug.cgi?id=1064915 Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Coly Li <colyli@suse.de> --- systemd/mdadm-last-resort@.service | 2 +- systemd/mdadm-last-resort@.timer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/mdadm-last-resort@.service b/systemd/mdadm-last-resort@.service index f9d4d12..efeb3f6 100644 --- a/systemd/mdadm-last-resort@.service +++ b/systemd/mdadm-last-resort@.service @@ -1,5 +1,5 @@ [Unit] -Description=Activate md array even though degraded +Description=Activate md array %I even though degraded DefaultDependencies=no ConditionPathExists=!/sys/devices/virtual/block/%i/md/sync_action diff --git a/systemd/mdadm-last-resort@.timer b/systemd/mdadm-last-resort@.timer index 52b3f22..45ad223 100644 --- a/systemd/mdadm-last-resort@.timer +++ b/systemd/mdadm-last-resort@.timer @@ -1,5 +1,5 @@ [Unit] -Description=Timer to wait for more drives before activating degraded array. +Description=Timer to wait for more drives before activating degraded array %I. DefaultDependencies=no Conflicts=sys-devices-virtual-block-%i.device -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor