[Bug 1979091] [NEW] /etc/openstack-release file is not removed when the package is uninstalled

Felipe Reyes 1979091 at bugs.launchpad.net
Fri Jun 17 19:41:14 UTC 2022


Public bug reported:

The package openstack-release installs the file /etc/openstack-release
which is meant to determine what version of openstack that machine is
running.

>From deb package perspective that package is marked as a configuration
file which means when the package is removed the file stays around
giving, possibly, stale information to the charm (primary consumer of
said file), or if a sysadmin modifies the file the apt-get option used
by the charm `-o Dpkg::Options::="--force-confold"` won't overwrite its
content and leading to multiple issues when upgrading an openstack
cloud.

This package follows the model of lsb_release, although I think this
information should be installed in a file under /usr/share/openstack-
release/, this is what distro-info does.

** Affects: openstack-release (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openstack-release in Ubuntu.
https://bugs.launchpad.net/bugs/1979091

Title:
  /etc/openstack-release file is not removed when the package is
  uninstalled

Status in openstack-release package in Ubuntu:
  New

Bug description:
  The package openstack-release installs the file /etc/openstack-release
  which is meant to determine what version of openstack that machine is
  running.

  From deb package perspective that package is marked as a configuration
  file which means when the package is removed the file stays around
  giving, possibly, stale information to the charm (primary consumer of
  said file), or if a sysadmin modifies the file the apt-get option used
  by the charm `-o Dpkg::Options::="--force-confold"` won't overwrite
  its content and leading to multiple issues when upgrading an openstack
  cloud.

  This package follows the model of lsb_release, although I think this
  information should be installed in a file under /usr/share/openstack-
  release/, this is what distro-info does.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openstack-release/+bug/1979091/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list