Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519206 - mdadm-3.3.1-r2 - systemd unit file now missing
Summary: mdadm-3.3.1-r2 - systemd unit file now missing
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 12:49 UTC by Gerald
Modified: 2014-08-07 10:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald 2014-08-06 12:49:32 UTC
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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-08-06 15:12:15 UTC
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
Comment 2 Gerald 2014-08-07 10:24:29 UTC
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.