← 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

---------------
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).

ceph (10.2.2-0ubuntu0.16.04.1) xenial; urgency=medium

  * New upstream stable release (LP: #1585660).
    - d/p/drop-user-group-osd-prestart.patch: Dropped, included upstream.
    - d/ceph.install: Drop install of 60-ceph-partuuid-workaround.rules, no
      longer needed and not shipped by upstream.
  * Rename /etc/default/ceph/ceph -> /etc/default/ceph (LP: #1587516):
    - d/rules,ceph-common.install: Ensure that /etc/default/ceph is a file
      and not a directory.
    - d/ceph-common.{preinst,postinst,postrm}: Ensure that rename of
      /etc/default/ceph/ceph -> /etc/default/ceph is handled correctly
      and that any end-user changes are preserved.

 -- James Page <james.page@xxxxxxxxxx>  Tue, 19 Jul 2016 10:32:34 +0100

** Changed in: ceph (Ubuntu Xenial)
       Status: Fix Committed => 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 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/ubuntu/+source/ceph/+bug/1587516/+subscriptions