[arch-general] mdmonitor.service /usr/lib/systemd/scripts/mdadm_env.sh: No such file or directory

David C. Rankin drankinatty at suddenlinkmail.com
Mon Jun 6 00:43:44 UTC 2016

On 06/05/2016 06:12 PM, David N Murray via arch-general wrote:
> I don't think it's any problem at all.  I've always had this message and mdadm
> starts and runs fine.  I think this has been discussed on the list before.  It's
> an optional file, but generates an ugly message.
> https://bbs.archlinux.org/viewtopic.php?id=183122 (#10)
> HTH,
> Dave

Thank you Dave,

  It does indeed run fine:

[17:21 valhalla:/home/david] # sc status mdmonitor
● mdmonitor.service - MD array monitor
   Loaded: loaded (/usr/lib/systemd/system/mdmonitor.service; static; vendor
preset: disabled)
   Active: active (running) since Sun 2016-06-05 17:12:47 CDT; 23min ago
  Process: 454 ExecStartPre=/usr/lib/systemd/scripts/mdadm_env.sh (code=exited,
 Main PID: 460 (mdadm)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/mdmonitor.service
           └─460 /sbin/mdadm --monitor --scan

Jun 05 17:12:47 valhalla systemd[1]: Starting MD array monitor...
Jun 05 17:12:47 valhalla systemd[1]: Started MD array monitor.

  Just seems strange we wouldn't at least have a stub script for
/usr/lib/systemd/scripts/mdadm_env.sh to get rid of the boot message. Oh well,
I'll post to the mdraid list and see what the devs have to say. Thanks again

David C. Rankin, J.D.,P.E.

More information about the arch-general mailing list