[Bug 1890037] [NEW] mdcheck_* timers refer non-existing binary mdcheck

Moritz Bunkus 1890037 at bugs.launchpad.net
Sun Aug 2 10:23:54 UTC 2020


Public bug reported:

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)

** Affects: mdadm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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