Bug 1701114 - Deprecation warning for mdmonitor.service's PIDFile (/var/run)
Summary: Deprecation warning for mdmonitor.service's PIDFile (/var/run)
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:
: 1704517 1716759 (view as bug list)
Depends On:
Blocks: 1704517
TreeView+ depends on / blocked
 
Reported: 2019-04-18 06:31 UTC by Christian Stadelmann
Modified: 2020-01-31 02:00 UTC (History)
5 users (show)

Fixed In Version: mdadm-4.1-rc2.0.4.fc30 mdadm-4.1-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1704517 (view as bug list)
Environment:
Last Closed: 2020-01-31 02:00:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christian Stadelmann 2019-04-18 06:31:33 UTC
Steps to reproduce:
1. Have Fedora 30
2. Have mdmonitor.service enabled
3. Boot Fedora 30
4. Watch syslog

what happens:
You'll see this warning by systemd somewhere in the syslog:
> /usr/lib/systemd/system/mdmonitor.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/mdadm/mdadm.pid → /run/mdadm/mdadm.pid; please update the unit file accordingly.

What should happen:
No warning

Additional information:
I have created a fix: https://src.fedoraproject.org/rpms/mdadm/pull-request/4

See this similar bug: https://bugzilla.redhat.com/show_bug.cgi?id=1691905

Comment 1 XiaoNi 2019-04-30 02:46:09 UTC
Hi Christian

Could you have a try with this koji.fedoraproject.org/koji/taskinfo?taskID=34539586
This version has your patch.

Thanks
Xiao

Comment 2 Christian Stadelmann 2019-05-09 19:15:37 UTC
I don't see the warning any more.

Comment 3 Christian Stadelmann 2019-12-04 21:11:29 UTC
*** Bug 1704517 has been marked as a duplicate of this bug. ***

Comment 4 Christian Stadelmann 2019-12-04 21:17:59 UTC
This issue has *NOT* been fixed.

Can you please fix this issue? There is a pull request for doing that:
https://src.fedoraproject.org/rpms/mdadm/pull-request/5

Also, please note @orion's comment from that pull request. Why don't you use upstream's mdmonitor.service file?

Comment 5 Christian Stadelmann 2019-12-04 21:18:57 UTC
*** Bug 1716759 has been marked as a duplicate of this bug. ***

Comment 6 Harald Reindl 2019-12-04 23:50:11 UTC
it's amazing how many month *one line fixes* in Fedora take which would have been faced by a proper QA or maintainers which look at their logs long before pushing

Comment 7 Fedora Update System 2020-01-14 01:43:14 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 8 Fedora Update System 2020-01-31 02:00:01 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.