[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-raid
Subject:    [PATCH] mdcheck: Remove extra spaces in systemd timer directives
From:       Eric Desrochers <eric.desrochers () canonical ! com>
Date:       2020-09-28 16:16:30
Message-ID: 20200928161630.21260-1-eric.desrochers () canonical ! com
[Download RAW message or body]

At package maintainer level, this is causing 'mdadm' to fail
to build. (e.g. In debian, causing debhelper's dh_installsystemd to not
find units to install due to the extra space.)

 "dh_installsystemd: error: Package 'mdadm' does not install unit ''. "

Signoff-by: Eric Desrochers <eric.desrochers@canonical.com>
---
 systemd/mdcheck_continue.timer | 2 +-
 systemd/mdcheck_start.timer    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/systemd/mdcheck_continue.timer b/systemd/mdcheck_continue.timer
index dba1074..3150fee 100644
--- a/systemd/mdcheck_continue.timer
+++ b/systemd/mdcheck_continue.timer
@@ -12,4 +12,4 @@ Description=MD array scrubbing - continuation
 OnCalendar= 1:05:00
 
 [Install]
-WantedBy= mdmonitor.service
+WantedBy=mdmonitor.service
diff --git a/systemd/mdcheck_start.timer b/systemd/mdcheck_start.timer
index 9e7e02a..e5d727a 100644
--- a/systemd/mdcheck_start.timer
+++ b/systemd/mdcheck_start.timer
@@ -12,5 +12,5 @@ Description=MD array scrubbing
 OnCalendar=Sun *-*-1..7 1:00:00
 
 [Install]
-WantedBy= mdmonitor.service
-Also= mdcheck_continue.timer
+WantedBy=mdmonitor.service
+Also=mdcheck_continue.timer
-- 
2.25.1

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic