Comment 0 for bug 1816006

Revision history for this message
Haw Loeung (hloeung) wrote :

Hi,

On squid service start up in Bionic, /var/run/squid is created by /etc/init.d/squid (create_run_dir()). This doesn't happen in Cosmic nor Disco and probably is related to the migration to systemd.

Squid needs to create the squid-kid-*.ipc UNIX sockets in /var/run/squid to function on SMP set ups (workers X).

Steps to reproduce:

  * spin up fresh cosmic or bionic instance/machine

  * install squid

  * configure 'workers 5' or enable the Rock Store cache storage type

  * reboot instance

  * try start up squid.

Logging shows this:

| 2019/02/15 04:46:58 kid1| commBind Cannot bind socket FD 28 to [::]: (2) No such file or directory