openstack-dashboard should not write to /etc/openstack-dashboard
Bug #1233752 reported by
James Page
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
horizon (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Saucy |
Fix Released
|
High
|
James Page |
Bug Description
The horizon codebase contains code which generates and stores a secret key on disk if one is not supplied in local_settings.py.
This needs to not be /etc/openstack-
Right now the dashboard just errors out due to lack to write permissions to /etc/openstack-
Related branches
lp:~james-page/horizon/fixup-secret-storage
- Ubuntu Server Developers: Pending requested
-
Diff: 65 lines (+20/-2)4 files modifieddebian/changelog (+11/-0)
debian/openstack-dashboard.dirs (+1/-0)
debian/openstack-dashboard.postinst (+6/-0)
debian/patches/ubuntu_settings.patch (+2/-2)
Changed in horizon (Ubuntu Saucy): | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → James Page (james-page) |
description: | updated |
Changed in horizon (Ubuntu Saucy): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package horizon - 1:2013. 2~b3-0ubuntu2
--------------- 2~b3-0ubuntu2) saucy; urgency=low
horizon (1:2013.
* Don't use /etc/openstack- dashboard for in-process generated data dashboard. {dirs,postinst} : openstack- dashboard with restricted permissions, dashboard/ secret_ key to correct location if settings. patch: Use /var/lib/ openstack- dashboard for dashboard.
(LP: #1233752):
- d/openstack-
+ Create /var/lib/
allowing www-data user to write a secret_key if need be.
+ Move /etc/openstack-
it already exists.
- d/p/ubuntu_
secret key storage instead of /etc/openstack-
-- James Page <email address hidden> Wed, 02 Oct 2013 10:31:15 +0100