Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1763195

Summary: Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Product: Red Hat Enterprise Linux 7 Reporter: jtougne
Component: mdadmAssignee: XiaoNi <xni>
Status: CLOSED DUPLICATE QA Contact: Storage QE <storage-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.7CC: cvv30693, dledford, linville, matt.wyen, ncroxon, xni
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-17 16:38:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
errors from /var/log/messages and config files none

Description jtougne 2019-10-18 13:02:48 UTC
Created attachment 1627195 [details]
errors from /var/log/messages and config files

Description of problem:

Default configuration of mdadm generates errors in /var/log/messages.

Example errors:
Oct 17 13:31:24 Hostname systemd: [/usr/lib/systemd/system/mdcheck_start.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Oct 17 13:31:24 Hostname systemd: [/usr/lib/systemd/system/mdcheck_continue.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Oct 17 13:31:24 Hostname systemd: [/usr/lib/systemd/system/mdcheck_continue.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Oct 17 13:31:24 Hostname systemd: [/usr/lib/systemd/system/mdcheck_start.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Oct 17 13:31:24 Hostname systemd: [/usr/lib/systemd/system/mdcheck_continue.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Oct 17 13:31:24 Hostname systemd: [/usr/lib/systemd/system/mdcheck_continue.service:14] Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Oct 17 13:31:24 Hostname systemd: [/usr/lib/systemd/system/mdcheck_start.timer:12] Failed to parse calendar specification, ignoring: Sun *-*-1..7 1:00:00
Oct 17 13:31:24 Hostname systemd: mdcheck_start.timer lacks value setting. Refusing.

Version-Release number of selected component (if applicable):
mdadm 4.1-1.el7

How reproducible:
journalctl -p err or less /var/log/messages

Steps to Reproduce:
1.
2.
3.

Actual results:
Some errors are present.

Expected results:
No errors.

Additional info:
These errors started occuring after we migrated from RHEL7.6 to RHEL7.7

I did some reading, I suspect a few issues:
MDADM_CHECK_DURATION='"6 hours"'
-> should it not be "6 hours" instead?

OnCalendar=Sun *-*-1..7 1:00:00
-> is that correct?


Cheers,

Comment 2 Matt Wyen 2020-03-05 15:57:30 UTC
I'm having a similar issue with RHEL server v7.7

Comment 3 Nigel Croxon 2020-04-17 16:38:34 UTC

*** This bug has been marked as a duplicate of bug 1774354 ***

Comment 4 Armstrong 2022-11-11 14:05:33 UTC Comment hidden (spam)