Activity log for bug #1564922

Date Who What changed Old value New value Message
2016-04-01 13:54:14 Dr. Jens Harbott bug added bug
2016-04-12 08:51:21 Dr. Jens Harbott bug task added init-system-helpers (Ubuntu)
2016-04-12 08:53:39 Dr. Jens Harbott ceph (Ubuntu): status New Invalid
2016-04-12 09:10:14 Dr. Jens Harbott description This log is from installing the pre-release packages, but I got the same warnings when installing 10.0.5 earlier: Preparing to unpack .../ceph_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. Unpacking ceph (10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201) over (10.0.5-0ubuntu1) ... Preparing to unpack .../ceph-common_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. Not sure whether this is a bug in deb-systemd-invoke really. When having a custom /usr/sbin/policy-rc.d, there are various warnings during installation, like: Preparing to unpack .../ceph_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. Unpacking ceph (10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201) over (10.0.5-0ubuntu1) ... Preparing to unpack .../ceph-common_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. The issue seems to be that deb-systemd-invoke is called with the systemd-type service name, while /usr/sbin/policy-rc.d expects the "old" service name as parameter, e.g. "ceph-mon.service" vs "ceph-mon".
2016-04-12 09:12:53 Dr. Jens Harbott description When having a custom /usr/sbin/policy-rc.d, there are various warnings during installation, like: Preparing to unpack .../ceph_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. Unpacking ceph (10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201) over (10.0.5-0ubuntu1) ... Preparing to unpack .../ceph-common_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. The issue seems to be that deb-systemd-invoke is called with the systemd-type service name, while /usr/sbin/policy-rc.d expects the "old" service name as parameter, e.g. "ceph-mon.service" vs "ceph-mon". When having a custom /usr/sbin/policy-rc.d, there are various warnings during installation, like: Preparing to unpack .../ceph_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. Unpacking ceph (10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201) over (10.0.5-0ubuntu1) ... Preparing to unpack .../ceph-common_10.1.0.dfsg-0ubuntu1~ubuntu16.04.1~ppa201603311201_amd64.deb ... deb-systemd-invoke only supports /usr/sbin/policy-rc.d return code 101 and 104! Got return code 100, ignoring. The issue seems to be that deb-systemd-invoke is called with the systemd-type service name, while /usr/sbin/policy-rc.d expects the "old" service name as parameter, e.g. "ceph-mon.service" vs "ceph-mon": 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