From: Coly Li <colyli@suse.de>
To: jsorensen@fb.com, linux-raid@vger.kernel.org
Cc: Ali Abdallah <ali.abdallah@suse.com>
Subject: Re: [PATCH] mdcheck: fix syntax error in mdcheck_start.timer
Date: Fri, 21 Aug 2020 13:11:48 +0800 [thread overview]
Message-ID: <4fe69733-1063-6212-9d1c-00aea98c1184@suse.de> (raw)
In-Reply-To: <20200821050955.13435-1-colyli@suse.de>
On 2020/8/21 13:09, Coly Li wrote:
> From: Ali Abdallah <ali.abdallah@suse.com>
>
> From: Ali Abdallah <ali.abdallah@suse.com>
I post this patch for Ali, because his original fix was posted in kernel
bugzilla, and I doubt people may look at there.
Please consider to have them in mdadm upstream, we already have this fix
in product for a while. Thanks.
Coly Li
>
> 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
>
prev parent reply other threads:[~2020-08-21 5:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 5:09 [PATCH] mdcheck: fix syntax error in mdcheck_start.timer Coly Li
2020-08-21 5:11 ` Coly Li [this message]
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=4fe69733-1063-6212-9d1c-00aea98c1184@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