Package: squid
Version: 3.5.23-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
 
 I tried to install squid via apt-get install squid

 The problem is here:


 Feb 16 08:32:08 dx151 systemd[1]: Starting LSB: Squid HTTP Proxy
 version 3.x...
 Feb 16 08:32:08 dx151 squid[5885]: Starting Squid HTTP Proxy: squid
 failed!
 Feb 16 08:32:08 dx151 systemd[1]: squid.service: PID file
 /var/run/squid.pid not readable (yet?) after start: No such file or
 directory
 Feb 16 08:37:08 dx151 systemd[1]: squid.service: Start operation timed
 out. Terminating.
 Feb 16 08:37:08 dx151 systemd[1]: Failed to start LSB: Squid HTTP Proxy
 version 3.x.
 Feb 16 08:37:08 dx151 systemd[1]: squid.service: Unit entered failed
 state.
 Feb 16 08:37:08 dx151 systemd[1]: squid.service: Failed with result
 'timeout'.
 dpkg: error processing package squid (--configure):
  subprocess installed post-installation script returned error exit
  status 1

 
 Obviously the installer script tries to put the PID file in /var/run.
 This can not work, because squid has no write access to /var/run which
 is owned by root.root. Instead squid should put its PID file in
 /var/run/squid which is owned by proxy.proxy.
 
The error seems to be in multiple places, also in some autogenerated
systemd files for squid.service.


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages squid depends on:
ii  adduser                  3.115
ii  libc6                    2.24-9
ii  libcap2                  1:2.25-1
ii  libcomerr2               1.43.4-2
ii  libdb5.3                 5.3.28-12+b1
ii  libdbi-perl              1.636-1+b1
ii  libecap3                 1.0.1-3.2
ii  libexpat1                2.2.0-2
ii  libgcc1                  1:6.3.0-6
ii  libgssapi-krb5-2         1.15-1
ii  libkrb5-3                1.15-1
ii  libldap-2.4-2            2.4.44+dfsg-3
ii  libltdl7                 2.4.6-2
ii  libnetfilter-conntrack3  1.0.6-2
ii  libnettle6               3.3-1
ii  libpam0g                 1.1.8-3.5
ii  libsasl2-2               2.1.27~101-g0780600+dfsg-2
ii  libstdc++6               6.3.0-6
ii  libxml2                  2.9.4+dfsg1-2.2
ii  logrotate                3.11.0-0.1
ii  lsb-base                 9.20161125
ii  netbase                  5.4
ii  squid-common             3.5.23-1

Versions of packages squid recommends:
ii  libcap2-bin  1:2.25-1

Versions of packages squid suggests:
pn  resolvconf   <none>
pn  smbclient    <none>
pn  squid-cgi    <none>
ii  squid-purge  3.5.23-1
ii  squidclient  3.5.23-1
ic  ufw          0.35-4
pn  winbindd     <none>

-- Configuration Files:
/etc/init.d/squid changed [not included]
/etc/squid/squid.conf changed [not included]
/etc/ufw/applications.d/squid changed [not included]

-- no debconf information

Reply via email to