Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH] mdcheck: fix syntax error in mdcheck_start.timer
@ 2020-08-21  5:09 Coly Li
  2020-08-21  5:11 ` Coly Li
  0 siblings, 1 reply; 2+ messages in thread
From: Coly Li @ 2020-08-21  5:09 UTC (permalink / raw)
  To: jsorensen, linux-raid; +Cc: Ali Abdallah, Coly Li

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mdcheck: fix syntax error in mdcheck_start.timer
  2020-08-21  5:09 [PATCH] mdcheck: fix syntax error in mdcheck_start.timer Coly Li
@ 2020-08-21  5:11 ` Coly Li
  0 siblings, 0 replies; 2+ messages in thread
From: Coly Li @ 2020-08-21  5:11 UTC (permalink / raw)
  To: jsorensen, linux-raid; +Cc: Ali Abdallah

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
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-21  5:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-21  5:09 [PATCH] mdcheck: fix syntax error in mdcheck_start.timer Coly Li
2020-08-21  5:11 ` Coly Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox