Automatic squid reload on resolv.conf update does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid3 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
There is a script (/etc/resolvcon
invoke-rc.d reload squid || true
The thing is, that command somehow does not cause the squid to reload. This is particularly painful when Ubuntu is being contained in VirtualBox and some resolv.conf changes are done during the boot process. I.e. after the system boot the squid proxy server is just not working (it returns HTTP/500 and HTTP header X-Squid-Error: ERR_CANNOT_
1518190105.150 0 127.0.0.1 TCP_MISS/500 4495 GET http://
1518190105.153 0 127.0.0.1 TCP_MISS/500 4474 GET http://
I.e. HIER_NONE appears practically after 0 miliseconds means that squid is experiencing connectivity problems.
That being said, reloading squid using systemd equivalent of the invoke-rc.d command works just fine (in the script also):
systemctl reload squid || true
So, to sum up, I would like to ask to fix the squid package by either:
* Change /etc/resolvconf
* Make `invoke-rc.d reload` work properly for squid
Environment:
Description: Ubuntu 17.10
Release: 17.10
squid:
Installed: 3.5.23-5ubuntu1.1
Candidate: 3.5.23-5ubuntu1.1
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: squid 3.5.23-5ubuntu1.1
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Feb 9 17:03:47 2018
InstallationDate: Installed on 2016-08-03 (555 days ago)
InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: squid3
UpgradeStatus: Upgraded to artful on 2017-10-05 (127 days ago)
mtime.conffile.
The attachment "Proposed fix: use systemd in /etc/resolvconf /update- libc.d/ squid" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]