openstack-dashboard:
  Installed: 3:18.2.1~git2020041013.754804667-0ubuntu2

sudo ls -la /var/lib/openstack-dashboard/
total 20
drwxr-x---  4 horizon horizon 4096 Apr 20 09:37 .
drwxr-xr-x 23 root    root    4096 Apr 20 09:36 ..
drwxr-x---  2 horizon horizon 4096 Apr 17 11:14 secret-key
-rw-------  1 horizon horizon   64 Apr 20 09:37 secret_key
drwxr-xr-x 10 horizon horizon 4096 Apr 20 09:37 static
-rw-r-----  1 horizon horizon    0 Apr 20 09:37 
_var_lib_openstack-dashboard_secret_key.lock

apache error log contains many errors like:
[Mon Apr 20 09:40:42.117326 2020] [core:error] [pid 11212:tid 140550892140288] 
(13)Permission denied: [client 10.64.255.1:43256] AH00035: access to 
/horizon/static/dashboard/js/acfe932256c2.js denied (filesystem path 
'/var/lib/openstack-dashboard/static') because search permissions are missing 
on a component of the path, referer: http://10.64.255.182/horizon/auth/login/
[Mon Apr 20 09:40:43.558078 2020] [core:error] [pid 11213:tid 140550850176768] 
(13)Permission denied: [client 10.64.255.1:43252] AH00035: access to 
/horizon/static/dashboard/js/05a9ee382ec9.js denied (filesystem path 
'/var/lib/openstack-dashboard/static') because search permissions are missing 
on a component of the path, referer: http://10.64.255.182/horizon/auth/login/
[Mon Apr 20 09:40:43.567465 2020] [core:error] [pid 11213:tid 140550841784064] 
(13)Permission denied: [client 10.64.255.1:43252] AH00035: access to 
/horizon/static/dashboard/js/acfe932256c2.js denied (filesystem path 
'/var/lib/openstack-dashboard/static') because search permissions are missing 
on a component of the path, referer: http://10.64.255.182/horizon/auth/login/

openstack-dashboard.postinst contains:
  find /var/lib/openstack-dashboard -exec chown horizon:horizon "{}" +
  find /var/lib/openstack-dashboard -type f -exec chmod 0640 "{}" + -o -type d 
-exec chmod 0750 "{}" +
  find /var/lib/openstack-dashboard/static -type f -exec chmod 0644 "{}" + -o 
-type d -exec chmod 0755 "{}" +

  chmod 0750 /var/lib/openstack-dashboard

but /var/lib/openstack-dashboard must be at least 751

** Changed in: horizon (Ubuntu)
       Status: Fix Released => New

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

Title:
  Apache2 needs access to /var/lib/openstack-dashboard/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1871640/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to