branches with status:
Name Status Last Modified Last Commit
lp:ubuntu-repository-cache 1 Development 2019-09-09 06:08:48 UTC 2019-09-09
262. Don't use hookenv.config() for apache...

Author: Haw Loeung
Revision Date: 2019-09-09 06:08:48 UTC

Don't use hookenv.config() for apache root

ubuntu_repository_cache_sync() runs as the 'www-sync' user but permissions of charm/.juju-persistent-config as used by hookenv.config() are restricted to root 0600. Instead, we work out apache root from config file.

Reviewed-by: Joel Sing <>

11 of 1 result