please provide the systemd files to boot from md devices and use of md devices with systemd. At the moment I gentoo system,that use eg. a raid1 md device, cannot use systemd Reproducible: Always
i have / (root) on raid1 an can boot fine with systemd - you have to get your kernel to autostart/detect the raid (MD_AUTODETECT). would still be nice with proper systemd integration though. thanks
I have no problems with systemd and mdraid. udev is responsible for auto-assemble of MD arrays.
Of course arrays with / and /usr on top of them should be assembled via initramfs or by appending "md=" options to the kernel cmdline (or MD_AUTODETECT should be enabled, but afaik this doesn't work with metadata 1.x). :)
An ebuild with a working systemd unit for mdadm --monitor has been committed to the systemd-love overlay. https://github.com/Sabayon/systemd-love/tree/master/sys-fs/mdadm
(In reply to comment #4) Using distro-specific files in EnvironmentFile is bad. Even fedora is moving away from this. https://fedoraproject.org/wiki/Features/Systemd-unit-cleanup
I will commit in a week if nobody disagrees (considering Alexander comment of course). Thanks
Once again, base-system gives a blanket nod to systemd files. We just won't maintain them or support them, we expect the systemd herd will assist here. We have enough things to worry about. In the future as herd priorities change and membership potentially changes, we might invest our time in systemd support.
+ 06 Jul 2013; Pacho Ramos <pacho@gentoo.org> +files/mdadm.service, + +files/mdadm.tmpfiles.conf, mdadm-3.2.6-r1.ebuild: + Install unit file (#407277, thanks to Doug and base-system herd for allowing + it). +