mirror sync broken because juju-run can't run as a non-root user anymore
Bug #1699112 reported by
Junien F
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
High
|
Chris Glass |
Bug Description
Hi,
I upgraded a cloud mirror to juju 1.25.12 earlier today, and this broke the mirror sync. The cron job fails this way :
$ sudo -u www-sync juju-run ubuntu-
error: dialing juju run socket: dial unix /var/lib/
This is because in 1.25.12 (and 2.1.3 and following), the run.socket is only accessible by root (see bug 1682411).
Hence, juju-run fails when run as www-data.
Thanks
Related branches
lp:~tribaal/ubuntu-repository-cache/run-cron-as-root
- Francis Ginther (community): Approve
- Chris Glass: Abstain
-
Diff: 9 lines (+1/-1)1 file modifiedtemplates/cron/ubuntu-repository-cache_rsync.cron (+1/-1)
Changed in ubuntu-repository-cache: | |
importance: | Undecided → High |
assignee: | nobody → Chris Glass (tribaal) |
Changed in ubuntu-repository-cache: | |
status: | New → In Progress |
Changed in ubuntu-repository-cache: | |
status: | In Progress → Fix Committed |
description: | updated |
To post a comment you must log in.
Hi,
When will this fix be released ?
Thanks