Bug 1749859 - 65-md-incremental.rules:28 Invalid value
Summary: 65-md-incremental.rules:28 Invalid value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: XiaoNi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-06 15:09 UTC by Alessio
Modified: 2020-01-31 02:00 UTC (History)
12 users (show)

Fixed In Version: mdadm-4.1-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-31 02:00:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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