[Bug 1852747] Re: mdcheck_start.service trying to start unexisting file

Guilherme G. Piccoli 1852747 at bugs.launchpad.net
Wed May 6 15:49:51 UTC 2020


Hi Alexey, thanks for your report! And thanks legioner for your comment and patch. I think this is indeed a bug, we have systemd services for mdcheck but the script itself is not in the package.
For Bionic, neither the script or systemd services are present.

Debian came-up with the "checkarray" approach long time ago [0]; it does
pretty much the same as mdcheck, with some small differences (checkarray
allows you to ionice the process, mdcheck allows to stop/continue the
process, etc). I disagree with legioner patch portion that "removes" the
checkarray, I don't see a reason for this. At the same time, we should
either (a) include mdcheck in the package, or (b) remove the systemd
mdcheck-related patches and officially not support mdcheck.

I've noticed mdadm has the same issue on Debian Sid, not containing the
script mdcheck (although the systemd services are there), so my
suggestion is to also open a Debian bug about this (and link it here in
the Launchpad) to get the input from the Debian mdadm maintainers on the
subject.

Cheers,


Guilherme


[0]https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377071

** Bug watch added: Debian Bug tracker #377071
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377071

-- 
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/1852747

Title:
  mdcheck_start.service trying to start unexisting file

Status in mdadm package in Ubuntu:
  Confirmed

Bug description:
  mdcheck_start.service trying to start unexisting file

  root at d:~# cat /lib/systemd/system/mdcheck_start.service  | grep Exec
  ExecStart=/usr/share/mdadm/mdcheck --duration $MDADM_CHECK_DURATION

  root at d:~# ls -la /usr/share/mdadm/mdcheck
  ls: cannot access '/usr/share/mdadm/mdcheck': No such file or directory

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: mdadm 4.1-2ubuntu3
  ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1
  Uname: Linux 5.3.0-19-generic x86_64
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  Date: Fri Nov 15 13:13:17 2019
  Lspci: Error: [Errno 2] No such file or directory: 'lspci': 'lspci'
  Lsusb: Error: [Errno 2] No such file or directory: 'lsusb': 'lsusb'
  MachineType: HP HP EliteBook x360 1030 G3
  ProcEnviron:
   LANG=C
   TERM=screen
   PATH=(custom, no user)
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-19-generic root=/dev/mapper/system-root ro cryptdevice=UUID=95c107ea-73d0-4206-a31c-fb0ed6d7d6a9:cryptlvm mem_sleep_default=deep
  ProcMDstat:
   Personalities : 
   unused devices: <none>
  SourcePackage: mdadm
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/07/2019
  dmi.bios.vendor: HP
  dmi.bios.version: Q90 Ver. 01.08.01
  dmi.board.name: 8438
  dmi.board.vendor: HP
  dmi.board.version: KBC Version 14.3F.00
  dmi.chassis.asset.tag: 5CD9296RDC
  dmi.chassis.type: 31
  dmi.chassis.vendor: HP
  dmi.modalias: dmi:bvnHP:bvrQ90Ver.01.08.01:bd08/07/2019:svnHP:pnHPEliteBookx3601030G3:pvr:rvnHP:rn8438:rvrKBCVersion14.3F.00:cvnHP:ct31:cvr:
  dmi.product.family: 103C_5336AN HP EliteBook x360
  dmi.product.name: HP EliteBook x360 1030 G3
  dmi.product.sku: 5SR46ES#ACB
  dmi.sys.vendor: HP
  etc.blkid.tab: Error: [Errno 2] No such file or directory: '/etc/blkid.tab'
  initrd.files: Error: [Errno 2] No such file or directory: '/boot/initrd.img-5.3.0-19-generic'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1852747/+subscriptions



More information about the foundations-bugs mailing list