RPM: no /usr/libexec directory on SUSE
The ceph-osd-prestart.sh script is installed in /usr/libexec/ceph/ and indeed this directory is hard-coded in the file systemd/ceph-osd@.service.
This causes problems on SUSE which does not have a /usr/libexec directory.
Agreed that putting the script in /usr/lib/ceph is the most straightforward fix, since /usr/lib exists everywhere.
packaging: move ceph_common.sh and ceph-osd-prestart.sh to /usr/lib/ceph
First, it makes sense for both ceph_common.sh and ceph-osd-prestart.sh to
reside in the same directory: make it so.
Second, /usr/lib exists on both RHEL/Fedora and SLE/openSUSE, whereas
the later lacks /usr/libexec. To make this less painful, package
ceph_common.sh and ceph-osd-prestart.sh in /usr/lib/ceph.
Third, allow e.g. FreeBSD to do its own thing by using the $(libexecdir)
Autoconf variable (but set it to /usr/lib in the spec file).
Signed-off-by: Nathan Cutler <email@example.com>