From: Coly Li <colyli@suse.de>
To: jsorensen@fb.com, linux-raid@vger.kernel.org
Cc: Ali Abdallah <ali.abdallah@suse.com>, Coly Li <colyli@suse.de>
Subject: [PATCH] mdcheck: fix syntax error in mdcheck_start.timer
Date: Fri, 21 Aug 2020 13:09:55 +0800 [thread overview]
Message-ID: <20200821050955.13435-1-colyli@suse.de> (raw)
From: Ali Abdallah <ali.abdallah@suse.com>
From: Ali Abdallah <ali.abdallah@suse.com>
systemd fails to parse mdadm-timer Calendar specification, here is the
error log message:
systemd[1]: [/usr/lib/systemd/system/mdcheck_start.timer:12] Failed to parse calendar specification, ignoring: Sun *-*-1..7 1:00:00
systemd[1]: mdcheck_start.timer: Timer unit lacks value setting. Refusing.
This patch fixes the mistaken syntax in mdcheck_start.timer and solve
the above error messsage.
Signed-off-by: Ali Abdallah <ali.abdallah@suse.com>
Acked-by: Coly Li <colyli@suse.de>
---
systemd/mdcheck_start.timer | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/systemd/mdcheck_start.timer b/systemd/mdcheck_start.timer
index 9e7e02a..ba15ef5 100644
--- a/systemd/mdcheck_start.timer
+++ b/systemd/mdcheck_start.timer
@@ -9,7 +9,7 @@
Description=MD array scrubbing
[Timer]
-OnCalendar=Sun *-*-1..7 1:00:00
+OnCalendar=Sun *-*-* 1:00:00
[Install]
WantedBy= mdmonitor.service
--
2.26.2
next reply other threads:[~2020-08-21 5:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 5:09 Coly Li [this message]
2020-08-21 5:11 ` [PATCH] mdcheck: fix syntax error in mdcheck_start.timer Coly Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200821050955.13435-1-colyli@suse.de \
--to=colyli@suse.de \
--cc=ali.abdallah@suse.com \
--cc=jsorensen@fb.com \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox