sys-fs/mdadm-3.3-r3 came with a proper mdadm service file. sys-fs/mdadm-3.3.1-r2 does not: tux system # find /usr/lib/systemd/system/ -iname "*mda*" /usr/lib/systemd/system/mdadm-last-resort@.service /usr/lib/systemd/system/mdadm-last-resort@.timer /usr/lib/systemd/system/mdadm-grow-continue@.service Please don't break systemd compatibility. Reproducible: Always
These are the upstream provided systemd files for mdadm: $ qlist mdadm | grep systemd /usr/lib/systemd/system/mdmon@.service /usr/lib/systemd/system/mdmonitor.service /usr/lib/systemd/system/mdadm-last-resort@.timer /usr/lib/systemd/system/mdadm-last-resort@.service /usr/lib/systemd/system/mdadm-grow-continue@.service /usr/lib/systemd/system-shutdown/mdadm.shutdown What you are referring to, the old mdadm.service file, was from time before upstream didn't have these other files, but now since upstream does have the files, it was dropped purposely I can't speak for how these files are used within systemd (because i'm using openrc), but the systemd support is there, just under different filename
Thank you. I will try to remember qlist! The service files did indeed work fine and "mdmon" had actually been auto-magically been started using udev. Sorry for my confusion.