Description of problem: "service" or init.d tries to be replaced with systemd-run command, though the latest version on FC-19 (i.e. systemd-204-21) does not contain systemd-run command. The support is started from systemd-205. Version-Release number of selected component (if applicable): FC-19 and systemd-204-21 How reproducible: Always (when subcommand is used to start daemon inside some upper level service) using "service" or "init.d" Steps to Reproduce: 1. Start monitor daemon of ceph $ sudo service ceph restart mon.localhost.localdomain 2. Following output is received: === mon.localhost.localdomain === Starting Ceph mon.localhost.localdomain on localhost... bash: systemd-run: command not found Above outcome is also encountered when used with $ sudo /etc/init.d/ceph start mon.localhost.localdomain Actual results: Starting the daemon returns with error systemd-run: command not found. Expected results: Either supported systemd package should contain systemd-run utility or it should use the other method (traditional) for starting daemon inside some service. Additional info:
$ sudo service ceph restart mon.localhost.localdomain Above command is actually $ sudo service ceph start mon.localhost.localdomain
ceph-0.80.5-11.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ceph-0.80.5-11.fc19
Package ceph-0.80.5-11.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ceph-0.80.5-11.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-14026/ceph-0.80.5-11.fc19 then log in and leave karma (feedback).
I would be interested to know the cause for this issue. Thanks
It is quite simple -- the ceph init script tries to detect whether the init system is systemd (whether the pid 1 is systemd) and in that case it runs the daemon via systemd-run. However, that binary first appeared in post-f19 systemd version. The fix is to not run the daemon via systemd-run in f19. btw: Were you able to test the latest packages to see if they fixed your issue?
ceph-0.80.5-11.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.