Comment 2 for bug 1382632

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

The secret_key file is created when python manage.py collectstatic is run, it seems.

We have two packages that run this command in postinst: openstack-dashboard-ubuntu-theme and openstack-dashboard. In this scenario, -ubuntu-theme is installed first. It runs that command in postinst, the file is created, and apparently with the incorrect permissions: 0644

Then openstack-dashboard runs it again, and this time the secret_key file already exists, and it complains about the incorrect permissions.