Bug#449244: Checkarray sends email on DST time change

Michel Lespinasse walken at zoy.org
Sun Nov 4 12:45:22 UTC 2007


Package: mdadm
Version: 2.5.6-9
Severity: minor

Last night I received this message from the checkarray script:

Subject: Cron <root at server> [ -x /usr/share/mdadm/checkarray ] && [ $(date +%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet

checkarray: W: array md1 not idle, skipping...
checkarray: W: array md2 not idle, skipping...


After being puzzled for a while, I figured out that this is because of
the DST time change. The clock rolled back 1 hour tonight, from 2AM to 1AM.
This caused the checkarray script to run twice, and the second time the
arrays were not idle as they take more than 1 hour to check.

I classified this as minor since nothing wrong happened other than
an email being sent and me getting puzzled about it. But this could easily
be avoided by scheduling the cron job at any time other than a sunday from
1am to 2am. Maybe sunday 3am might work fine ???

(I'm not sure when the DST time change occurs in other countries/locations...)

-- 
Michel Lespinasse





More information about the pkg-mdadm-devel mailing list