[Bug 1675088] Re: Restrict permissions on Openstack installation
James Page
james.page at ubuntu.com
Tue Jul 4 15:47:26 UTC 2017
# ls -l /etc | grep heat
drwx------ 3 heat heat 6 Jul 4 15:46 heat
# apt-cache policy heat-common
heat-common:
Installed: 1:8.0.1-0ubuntu1
Candidate: 1:8.0.1-0ubuntu1
Version table:
*** 1:8.0.1-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 Packages
100 /var/lib/dpkg/status
1:8.0.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages
** Tags removed: verification-needed
** Tags added: verification-done-zesty
--
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:
Triaged
Status in heat package in Ubuntu:
Fix Released
Status in horizon package in Ubuntu:
Fix Committed
Status in heat source package in Zesty:
Fix Committed
Status in horizon source package in Zesty:
Triaged
Status in heat source package in Artful:
Fix Released
Status in horizon source package in Artful:
Fix Committed
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