Hi,
the command is actually:
$ invoke-rc.d squid reload
not
$ invoke-rc.d reload squid

Fortunately the latter is what I already see in debian/squid.resolvconf
which is what becomes /etc/resolvconf/update-libc.d/squid

I see in the log of the daemon correct reload entries when running the above:
Feb 16 10:16:11 bionic-test systemd[1]: Reloading LSB: Squid HTTP Proxy version 
3.x.
Feb 16 10:16:11 bionic-test squid[19363]:  * Reloading Squid HTTP Proxy 
configuration files
Feb 16 10:16:11 bionic-test squid[19363]:    ...done.

So IMHO it is not the change invoke.rc -> systemctl that is needed.
Instead I'd assume you are affected by bug 1713803

Could you check if resolveconf is even installed (so that the hooks
would be processed)?

** Changed in: squid3 (Ubuntu)
       Status: New => Incomplete

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

Title:
  Automatic squid reload on resolv.conf update does not work

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to