** Description changed:
- This log is from installing the pre-release packages, but I got the same
- warnings when installing 10.0.5 earlier:
+ 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.
- Not sure whether this is a bug in deb-systemd-invoke really.
+ 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".
** Description changed:
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".
+ 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
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to init-system-helpers in
Ubuntu.
https://bugs.launchpad.net/bugs/1564922
Title:
Warning messages during package installation
Status in ceph package in Ubuntu:
Invalid
Status in init-system-helpers package in Ubuntu:
New
Bug 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":
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1564922/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp