Right, this seems to be something local, I'll have to check where is comes from. Still it behaves correctly for the "old" service name without ".service" appended, so this still looks like a bug in deb-systemd-invoke to me:
root@controller-node11:~# /usr/sbin/policy-rc.d ceph-mon start root@controller-node11:~# echo $? 104 root@controller-node11:~# /usr/sbin/policy-rc.d ceph-mon.service start root@controller-node11:~# echo $? 100
Right, this seems to be something local, I'll have to check where is comes from. Still it behaves correctly for the "old" service name without ".service" appended, so this still looks like a bug in deb-systemd-invoke to me:
root@controller -node11: ~# /usr/sbin/ policy- rc.d ceph-mon start -node11: ~# echo $? -node11: ~# /usr/sbin/ policy- rc.d ceph-mon.service start -node11: ~# echo $?
root@controller
104
root@controller
root@controller
100