** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1564922

Title:
  Warning messages during package installation

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to