mdcheck: fix syntax error in mdcheck_start.timer
PATCH 1/1 mdcheck: fix syntax error in mdcheck_start.timer
From: Ali Abdallah <[email protected]>
From: Ali Abdallah <[email protected]>
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.
--- systemd/mdcheck_start.timer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
systemd/mdcheck_start.timer +1 -1
@@ -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
Signature · 1 line
2.26.2
Quoted 3 lines · Coly Li
From: Ali Abdallah <[email protected]>
From: Ali Abdallah <[email protected]>
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
Quoted 30 lines
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 <[email protected]>Acked-by Coly Li <[email protected]>--- systemd/mdcheck_start.timer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)systemd/mdcheck_start.timer +1
-1@@ -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