Bug #14687
Updated by Nathan Cutler over 8 years ago
The ceph-osd-prestart.sh script is installed As of jewel, we have hardcoded paths in /usr/libexec/ceph/ and indeed this directory is hard-coded in the file systemd/ceph-osd@.service. systemd unit files. For example: This causes problems on SUSE which does not have <pre> ceph-osd@.service: ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh . . . ceph-create-keys@.service: ExecStart=/usr/sbin/ceph-create-keys . . . ceph-disk@.service: ExecStart=/bin/sh -c 'flock /var/lock/ceph-disk /usr/sbin/ceph-disk . . . </pre> Since different supported distros often put a /usr/libexec directory. Agreed that putting the script given executable in /usr/lib/ceph is the most straightforward fix, since /usr/lib exists everywhere. different directories, this can pose a problem.