← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1587516] Re: Packaging: incorrect /etc/default

 

This bug was fixed in the package ceph - 10.2.2-0ubuntu0.16.04.2~cloud0
---------------

 ceph (10.2.2-0ubuntu0.16.04.2~cloud0) trusty-mitaka; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 ceph (10.2.2-0ubuntu0.16.04.2) xenial; urgency=medium
 .
   * d/ceph-common.{preinst,postinst,postrm}: Fix version checks in maintainer
     scripts to ensure that /etc/default/ceph actually gets installed on
     upgrade (LP: #1587516).


** Changed in: cloud-archive/mitaka
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1587516

Title:
  Packaging: incorrect /etc/default

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive mitaka series:
  Fix Released
Status in ceph package in Ubuntu:
  Fix Released
Status in ceph source package in Xenial:
  Fix Released
Status in ceph source package in Yakkety:
  Fix Released

Bug description:
  [Impact]
  Its not possible to pass environment variables to ceph daemons due to mis-installation of /etc/default/ceph (its a nested dir, not a file).

  [Test Case]
  sudo apt-get install ceph
  ls -la /etc/default/ceph

  [Regression Potential]
  Medium - upgrades, due to nested ceph/ceph are a little complex, but the packaging maintainer scripts should deal with it.

  [Original Bug Report]
  I am running ceph 10.2 on trusty (via upstart). The /etc/default are:

  # ls -la /etc/default/ceph/ceph
  -rw-r--r-- 1 root root 325 Apr 29 19:54 /etc/default/ceph/ceph

  Is ceph/ceph really intended? The upstart conf has this in it

  # fgrep /etc/default /etc/init/ceph-osd.conf
      test -f /etc/default/ceph && . /etc/default/ceph

  The debian/rules seem to create that dir, fwiw:

   install -d -m0755 debian/ceph-common/etc/default/ceph
   install -m0644 etc/default/ceph debian/ceph-common/etc/default/ceph

  # apt-cache policy ceph
  ceph:
    Installed: 10.2.0-0ubuntu0.16.04.1~cloud0
    Candidate: 10.2.0-0ubuntu0.16.04.1~cloud0
    Version table:
   *** 10.2.0-0ubuntu0.16.04.1~cloud0 0
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/mitaka/main amd64 Packages
          100 /var/lib/dpkg/status
       0.80.11-0ubuntu1.14.04.1 0
          500 http://archive.ubuntu.com//ubuntu/ trusty-updates/main amd64 Packages
       0.79-0ubuntu1 0
          500 http://archive.ubuntu.com//ubuntu/ trusty/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1587516/+subscriptions