** Description changed:

  [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]
- Minimal - tweak to packaging only.
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1587516

Title:
  Packaging: incorrect /etc/default

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to