Linux-Raid Archives on lore.kernel.org
 help / color / Atom feed
* [PATCH] mdcheck: Remove extra spaces in systemd timer directives
@ 2020-09-28 16:16 Eric Desrochers
  0 siblings, 0 replies; only message in thread
From: Eric Desrochers @ 2020-09-28 16:16 UTC (permalink / raw)
  To: linux-raid; +Cc: Eric Desrochers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 16:16 [PATCH] mdcheck: Remove extra spaces in systemd timer directives Eric Desrochers

Linux-Raid Archives on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-raid/0 linux-raid/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-raid linux-raid/ https://lore.kernel.org/linux-raid \
		linux-raid@vger.kernel.org
	public-inbox-index linux-raid

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-raid


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git