Description of problem: I noticed errors from udev when debugging unrelated issue Version-Release number of selected component (if applicable): sh# rpm -qf /usr/lib/systemd/systemd-udevd /usr/lib/udev/rules.d/65-md-incremental.rules systemd-udev-243~rc1-2.fc31.x86_64 mdadm-4.1-rc2.0.5.fc31.1.x86_64 How reproducible: Deterministic Steps to Reproduce: 1. boot your machine with mdadm installed 2. check journald for errors from systemd-udev Actual results: [root@host ~]# journalctl --boot | grep udev | grep 65-md-incremental.rules Aug 13 10:04:09 host.example.com systemd-udevd[944]: /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. Expected results: No errors in journald Additional info:
I can confirm this issue on a current Fedora 31 system: # rpm -qf /usr/lib/systemd/systemd-udevd /usr/lib/udev/rules.d/65-md-incremental.rules systemd-udev-243-4.gitef67743.fc31.x86_64 mdadm-4.1-rc2.0.5.fc31.1.x86_64 see also: Bug 1749859
https://src.fedoraproject.org/rpms/mdadm/pull-request/6
The pull request was merged a few days ago but as far as I can see there was no koji build. Would you mind triggering a build so that the fix is actually available for Fedora users?
There's a missing $ in line 28 of the rules file. Until the patch is out, you can add it by changing line 28 in /usr/lib/udev/rules.d/65-md-incremental.rules to IMPORT{program}="/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot $${DEVLINKS}" Notice the $$ in front of {DEVLINKS}. The currently shipped file only has one $ there. Gene
*** Bug 1748318 has been marked as a duplicate of this bug. ***
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
why isn't that crap still not fiexed on F30 not *just removed at all* given that it's not needed working anyways for a whoile release lifecycle?
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.