I created an ebuild for sys-cluster/ceph-0.94.1 based on the ceph-0.93 ebuild. The updated ebuild includes support for systemd. The systemd scripts were taken from the ceph repository on GitHub (https://github.com/ceph/ceph/tree/master/systemd) and file paths adjusted to Gentoo. Reproducible: Always
Created attachment 404378 [details] ceph-0.94.1.ebuild
Created attachment 404380 [details] ceph-mon_at.service Systemd script for starting a monitor
Created attachment 404382 [details] ceph-osd_at.service Systemd script for starting an OSD.
Created attachment 404384 [details] ceph-mds_at.service Systemd script for starting an MDS
Created attachment 404386 [details] ceph.target Systemd target for ceph.
Built successfully on both gentoo and funtoo.
Created attachment 404612 [details] ceph-0.94.1.ebuild Removed USE=systemd. Systemd files are now installed independently of the USE flag, according to the systemd ebuild policy [1]. [1] https://wiki.gentoo.org/index.php?title=Project:Systemd/Ebuild_policy&oldid=318434
Created attachment 404648 [details] ceph-mon_at.service.conf Configuration file for the Monitor service.
Created attachment 404650 [details] ceph-osd_at.service.conf Configuration file for the object storage daemon.
Created attachment 404652 [details] ceph-mds_at.service.conf Configuration file for the metadata server daemon.
Created attachment 404654 [details] ceph-0.94.1.ebuild The updated ebuild installs configuration files for the individual ceph services that allows changing the cluster name. One limitation is that multiple services of the same type (e.g. ceph-osd@0.service, ceph-osd@1.service, ...) always use the same cluster name. However, it is very unlikely that anyone would want a single machine to participate in multiple clusters IMO.
Created attachment 404656 [details] ceph-mon_at.service Removed definition of EnvironmentFile, because it is unnecessary.
Created attachment 404658 [details] ceph-osd_at.service Removed definition of EnvironmentFile, because it is unnecessary.
Created attachment 404660 [details] ceph-mds_at.service Removed definition of EnvironmentFile, because it is unnecessary.
*** Bug 522450 has been marked as a duplicate of this bug. ***
+*ceph-0.94.2-r1 (06 Aug 2015) + + 06 Aug 2015; Yixun Lan <dlan@gentoo.org> +ceph-0.94.2-r1.ebuild, + +files/ceph.target, +files/ceph-mds_at.service, + +files/ceph-mds_at.service.conf, +files/ceph-mon_at.service, + +files/ceph-mon_at.service.conf, +files/ceph-osd_at.service, + +files/ceph-osd_at.service.conf: + add systemd support, bug 550892, thanks Michael Seifert +