[Bug 1564922] Re: Warning messages during package installation

Dr. Jens Rosenboom j.rosenboom at x-ion.de
Tue Apr 12 09:10:14 UTC 2016


** 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 at controller-node11:~# /usr/sbin/policy-rc.d ceph-mon start
+ root at controller-node11:~# echo $?
+ 104
+ root at controller-node11:~# /usr/sbin/policy-rc.d ceph-mon.service start
+ root at controller-node11:~# echo $?
+ 100

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph 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 at controller-node11:~# /usr/sbin/policy-rc.d ceph-mon start
  root at controller-node11:~# echo $?
  104
  root at controller-node11:~# /usr/sbin/policy-rc.d ceph-mon.service start
  root at controller-node11:~# echo $?
  100

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1564922/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list