FS#71244 - [mdadm] PLEASE ENTER SUMMARY

Attached to Project: Arch Linux
Opened by leuko (leuko) - Sunday, 13 June 2021, 08:17 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 October 2021, 21:53 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I get the following warning in systemctl logs:

Starting MD array monitor...
systemd[1279941]: mdmonitor.service: Executable /usr/lib/mdadm/mdadm_env.sh missing, skipping: No such file or directory
joan systemd[1]: Started MD array monitor.
joan mdadm[1279942]: mdadm: No mail address or alert command - not monitoring.
...

/usr/lib/mdadm/mdadm_env.sh does not seem to be present in the mdadm package. Is this a bug or feature?

Additional info:
* mdadm-4.1-2

Steps to reproduce:
* reboot the system.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 14 October 2021, 21:53 GMT
Reason for closing:  Not a bug
Additional comments about closing:  2021-06-14: A task closure has been requested. Reason for request: /usr/lib/mdadm/mdadm_env.sh is optional.
Comment by leuko (leuko) - Sunday, 13 June 2021, 08:19 GMT Comment by loqs (loqs) - Monday, 14 June 2021, 00:13 GMT
The file is intended to be optional by upstream see [1][2]. According to [3] The argument passed should be an absolute filename or wildcard expression, optionally prefixed with "-", which indicates that if the file does not exist, it will not be read and no error or warning message is logged.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/systemd?id=61c094715836e76b66d7a69adcb6769127b5b77d
[2] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/systemd?id=f93b797b711d525a844d0daff8672abeca86f5db
[3] https://man.archlinux.org/man/core/systemd/systemd.exec.5.en#ENVIRONMENT
Comment by leuko (leuko) - Monday, 14 June 2021, 19:50 GMT
grateful for the thorough explanation loqs!

Loading...