[Bug 1544647] Re: postinst syntax error, if condition without "then", and directory path error (Ceph 9.2.0 only)

Launchpad Bug Tracker 1544647 at bugs.launchpad.net
Wed Feb 17 20:39:42 UTC 2016


This bug was fixed in the package ceph - 9.2.0-0ubuntu6

---------------
ceph (9.2.0-0ubuntu6) xenial; urgency=medium

  * d/ceph-mds.dirs: Actually create /var/lib/ceph/mds prior to changing
    permissions (LP: #1544647).
  * d/ceph.init: Restore link to init-ceph, resolving un-install failures
    due to missing init script (LP: #1546112).

 -- James Page <james.page at ubuntu.com>  Wed, 17 Feb 2016 10:33:24 +0000

** Changed in: ceph (Ubuntu)
       Status: Incomplete => Fix Released

-- 
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/1544647

Title:
  postinst syntax error, if condition without "then", and directory path
  error (Ceph 9.2.0 only)

Status in ceph package in Ubuntu:
  Fix Released

Bug description:
  in ceph-mds.postinst,

  Line 35:	if ! dpkg-statoverride --list /var/lib/ceph/mds >/dev/null
  Line 36:		chown $SERVER_USER:$SERVER_GROUP /var/lib/ceph/mds
  Line 37:	fi

  should be,

  Line 35:	if ! dpkg-statoverride --list /var/lib/ceph/bootstrap-mds >/dev/null; then
  Line 36:		chown $SERVER_USER:$SERVER_GROUP /var/lib/ceph/bootstrap-mds
  Line 37:	fi

  there are 2 bugs need to be corrected,
  1. syntax error, missing "then"
  2. path error, target directory path should be "/var/lib/ceph/bootstrap-mds"

  
  reproduce step,
  1. boot fresh new Ubuntu Trusty (with cloudarchive:mitaka), or Ubuntu Xenial (any version of daily build)
  2. apt-get update
  3. apt-get install ceph-common (or ceph-mds only)
  4. installation should block while processing ceph-mds.postinst

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



More information about the Ubuntu-openstack-bugs mailing list