Install hook fails due to squid syntax error
Bug #1744220 reported by
Barry Price
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
Low
|
Haw Loeung |
Bug Description
The charm writes the following line to /etc/squid-
cache_dir aufs /srv/ubuntu-
Apparently that size setting of 0 is invalid:
https:/
Amending the above line to this (for a 4GB on-disk cache) fixes the problem, but the charm will undo the fix:
cache_dir aufs /srv/ubuntu-
Related branches
lp:~hloeung/ubuntu-repository-cache/squid-cache-dir-min
- Colin Misare: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 10 lines (+1/-1)1 file modifiedlib/ubuntu_repository_cache/squid.py (+1/-1)
Changed in ubuntu-repository-cache: | |
status: | New → In Progress |
assignee: | nobody → Haw Loeung (hloeung) |
importance: | Undecided → Low |
Changed in ubuntu-repository-cache: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-repository-cache: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On further investigation, this seems to be limited to low-RAM units.
Deploying with "mem=4G" constraints solves the problem (default here is 1G).