[/usr/lib/systemd/system/mdcheck_xxx.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION="6 hours" is shown in /var/log/messages.

Solution Verified - Updated -

Issue

  • systemd error message in /var/log/message:

    Jun 30 06:02:51 hostname systemd: [/usr/lib/systemd/system/mdcheck_start.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION="6 hours"
    
  • mdcheck_start.service fail to start.

Environment

  • Red Hat Enterprise Linux 7.6
  • mdadm-4.1-4.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content