Bug 1019635 - Horizon: SECRET_KEYSTORE should be moved to /var/lib/openstack-dashboard
Summary: Horizon: SECRET_KEYSTORE should be moved to /var/lib/openstack-dashboard
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-packstack
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alan Pevec (Fedora)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 07:47 UTC by Matthias Runge
Modified: 2016-06-14 08:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-14 08:30:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthias Runge 2013-10-16 07:47:06 UTC
Description of problem:

I'm applying the following patch on top of Horizon:

Date: Fri, 4 Oct 2013 09:46:36 +0200
Subject: [PATCH] move SECRET_KEYSTORE to '/var/lib/openstack-dashboard'

---
 openstack_dashboard/local/local_settings.py.example | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openstack_dashboard/local/local_settings.py.example b/openstack_dashboard/local/local_settings.py.example
index d120dfc..a60ad0c 100644
--- a/openstack_dashboard/local/local_settings.py.example
+++ b/openstack_dashboard/local/local_settings.py.example
@@ -88,7 +88,7 @@ HORIZON_CONFIG = {
 # requests routed to the same dashboard instance or you set the same SECRET_KEY
 # for all of them.
 from horizon.utils import secret_key
-LOCAL_PATH = '/tmp'
+LOCAL_PATH = '/var/lib/openstack-dashboard'
 SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH, '.secret_key_store'))
␣
 # We recommend you use memcached for development; otherwise after every reload

This will change the location of a tmporary dir from somewhere hidden below openstack-dashboard install dir to /var/lib/openstack-dashboard, where also access rights are restricted.

Comment 1 Jaroslav Reznik 2015-03-03 15:08:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora Admin XMLRPC Client 2016-02-17 15:06:17 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Matthias Runge 2016-06-14 08:30:23 UTC
this has been solved in a different way now.


Note You need to log in before you can comment on or make changes to this bug.