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 - Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Summary: Invalid environment assignment, ignoring: MDADM_CHECK_DURATION='"6 hours"'
Keywords:
Status: CLOSED DUPLICATE of bug 1774354
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: mdadm
Version: 7.7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: XiaoNi
QA Contact: Storage QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-18 13:02 UTC by jtougne
Modified: 2022-11-11 14:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-17 16:38:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
errors from /var/log/messages and config files (2.56 KB, application/zip)
2019-10-18 13:02 UTC, jtougne
no flags Details

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)

Note You need to log in before you can comment on or make changes to this bug.