[Bug 1675088] Re: Restrict permissions on Openstack installation

Corey Bryant corey.bryant at canonical.com
Mon May 14 12:11:19 UTC 2018


This bug was fixed in the package glance - 2:14.0.1-0ubuntu1~cloud0
---------------

 glance (2:14.0.1-0ubuntu1~cloud0) xenial-ocata; urgency=medium
 .
   [ Chuck Short ]
   * d/glance-common.postinst: Make sure the permissions on /etc/glance is
     set to 0700. (LP: #1675088)
 .
   [ Corey Bryant ]
   * New stable point release for OpenStack Ocata (LP: #1759855).
   * d/glance-common.postinst: Fix permissions on /etc/glance so that
     the glance user can actually access the directory (LP: #1675088).


** Changed in: cloud-archive/ocata
       Status: Fix Committed => Fix Released

** Changed in: cloud-archive
       Status: Triaged => Fix Released

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

Title:
  Restrict permissions on Openstack installation

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive ocata series:
  Fix Released
Status in Ubuntu Cloud Archive pike series:
  Fix Released
Status in heat package in Ubuntu:
  Fix Released
Status in horizon package in Ubuntu:
  Fix Released
Status in heat source package in Zesty:
  Fix Released
Status in horizon source package in Zesty:
  Won't Fix
Status in heat source package in Artful:
  Fix Released
Status in horizon source package in Artful:
  Fix Released

Bug description:
  [Impact]
  Default configuration file permissions may allow read by unprivileged users other than the package system account.

  [Test Case]
  sudo apt install <pkg>-common
  ls -l /etc/<pkg>
  a) folder may be readable b) files may be readable

  [Regression Potential]
  Medium; if a openstack daemon can't read its config files, it won't startup; however most packages are covered by DEP-8 tests and we'll test
  a full OpenStack deployment using the normal SRU testing process:

  https://wiki.ubuntu.com/OpenStack/StableReleaseUpdates

  [Original Bug Report]
  Example given by CPE:

  Permssions for /etc/openstack-dashboard/ are too loose (755). Should be 700, horizon:horizon
  Permssions for /etc/cinder/ are too loose (750).  Should be 700, cinder:cinder
  Permssions for /etc/glance/ are too loose (755).  Should be 700, glance:glance
  Permssions for /etc/heat/ are too loose (750).  Should be 700, heat:heat
  Permssions for /etc/ceilometer/ are too loose (755).  Should be 700, ceilometer:ceilometer

  Will leave for you to evaluate best permissions.

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



More information about the Ubuntu-openstack-bugs mailing list