Bug 1749859

Summary: 65-md-incremental.rules:28 Invalid value
Product: [Fedora] Fedora Reporter: Alessio <alciregi>
Component: mdadmAssignee: XiaoNi <xni>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: agk, belegdol, clintonminton, dledford, edgar.hoch, fedora, fschwarz, jes.sorensen, jorti, tino.wolf.1980, twaugh, xni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mdadm-4.1-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 02:00:05 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:

Description Alessio 2019-09-06 15:09:48 UTC
From journalctl

Sep 06 17:00:35 toshiba systemd-udevd[1983]: /usr/lib/udev/rules.d/65-md-incremental.rules:28 Invalid value "/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot ${DEVLINKS}" for IMPORT (char 58: invalid substitution type), ignoring, but please fix it.

Comment 1 Georg Sauthoff 2019-11-10 18:44:18 UTC
Matching bug against rawhide: #1740662

Comment 2 Julian Sikorski 2019-12-15 10:38:50 UTC
https://src.fedoraproject.org/rpms/mdadm/pull-request/6

Comment 3 Felix Schwarz 2019-12-22 10:52:08 UTC
The pull request was merged a few days ago for rawhide. What is necessary to get this fix also for F31 (+ bodhi update)? Should somebody submit a new PR?

Comment 4 Woti 2020-01-11 20:02:50 UTC
Get this message with a fresh installed minimal Fedora 31 Server Edition too.

Comment 5 Fedora Update System 2020-01-14 01:43:17 UTC
mdadm-4.1-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-913d180f31

Comment 6 Zdenek Kabelac 2020-01-16 15:04:33 UTC
Observing:

systemd-udevd[389]: /usr/lib/udev/rules.d/65-md-incremental.rules:28 Invalid value "/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot ${DEVLINKS}" for IMPORT (char 58: invalid substitution type), ignoring, but please fix it.

I doubt the fix mentioned here:

https://src.fedoraproject.org/rpms/mdadm/pull-request/6#request_diff

is fixing this -  '$$' is not likely what systemd complains here about:

'man udev'

known variable are i.e. DEVPATH, SYMLINK, I'm not seeing  'DEVLINKS' listed there.


Using ATM: mdadm-4.1-rc2.0.5.fc32.2.x86_64

Comment 7 Woti 2020-01-16 21:30:43 UTC
mdadm-4.1-1.fc31 from Fedora 31 testing repository works for me. 
Message disappeared /usr/lib/udev/rules.d/65-md-incremental.rules:28 Invalid value "/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot ${DEVLINKS}" for IMPORT (char 58: invalid substitution type), ignoring, but please fix it

Comment 8 Fedora Update System 2020-01-31 02:00:05 UTC
mdadm-4.1-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.