[Bug 1587516] Re: Packaging: incorrect /etc/default
James Page
james.page at ubuntu.com
Mon Jul 18 09:26:06 UTC 2016
Upgrading to the version in proposed does not switch the dir -> file as
designed; the version checks in the maintainer scripts are against
10.2.0, not 10.2.2 as now in proposed.
My bad - I validated the upgrade path, and then did the new point
release.
** Tags removed: verification-needed
** Tags added: verification-failed
--
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/1587516
Title:
Packaging: incorrect /etc/default
Status in ceph package in Ubuntu:
Fix Released
Status in ceph source package in Xenial:
Fix Committed
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
More information about the Ubuntu-openstack-bugs
mailing list