[Bug 1890037] Re: mdcheck_* timers refer non-existing binary mdcheck
Nathan Rennie-Waldock
1890037 at bugs.launchpad.net
Mon Sep 21 15:05:04 UTC 2020
This was a packaging error in Debian that has been fixed in mdadm 4.1-6
(released a week ago). Can we get that merged? Or at least debian/rules
updated to install misc/mdcheck.
This is actually serious and could cause data loss if an array member
develops bad sectors as automatically checking the array is
nonfunctional.
** Bug watch added: Debian Bug tracker #960132
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960132
** Also affects: mdadm (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960132
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/1890037
Title:
mdcheck_* timers refer non-existing binary mdcheck
Status in mdadm package in Ubuntu:
Confirmed
Status in mdadm package in Debian:
Unknown
Bug description:
The mdadm package comes with two systemd timers that are activated
automatitcally, mdcheck_start.timer and mdcheck_continue.timer. The
corresponding services try to run /usr/share/mdadm/mdcheck which
doesn't exist. The units then fail, and no RAID check is run.
[0 mosu at lelldorin ~] grep ExecStart /lib/systemd/system/mdcheck_*.service
/lib/systemd/system/mdcheck_continue.service:ExecStart=/usr/share/mdadm/mdcheck --continue --duration $MDADM_CHECK_DURATION
/lib/systemd/system/mdcheck_start.service:ExecStart=/usr/share/mdadm/mdcheck --duration $MDADM_CHECK_DURATION
[0 mosu at lelldorin ~] dpkg -L mdadm | grep mdcheck
/lib/systemd/system/mdcheck_continue.service
/lib/systemd/system/mdcheck_continue.timer
/lib/systemd/system/mdcheck_start.service
/lib/systemd/system/mdcheck_start.timer
[0 mosu at lelldorin ~] ls /usr/share/mdadm/mdcheck
ls: cannot access '/usr/share/mdadm/mdcheck': No such file or directory
Description: Ubuntu 20.04.1 LTS
Release: 20.04
ii mdadm 4.1-5ubuntu1 amd64 tool to administer Linux
MD arrays (software RAID)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1890037/+subscriptions
More information about the foundations-bugs
mailing list