Re: [PATCH] mdcheck: fix syntax error in mdcheck_start.timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020/8/21 13:09, Coly Li wrote:
> From: Ali Abdallah <ali.abdallah@xxxxxxxx>
> 
> From: Ali Abdallah <ali.abdallah@xxxxxxxx>

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@xxxxxxxx>
> Acked-by: Coly Li <colyli@xxxxxxx>
> ---
>  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
> 




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux