Package: squid3 Version: 3.4.8-6+deb8u1 Severity: normal Dear Maintainer,
After making a mistake in the configuration file and executing "systemctl reload squid3", "systemctl status squid3" does lists squid as active even though it has died, and "systemctl start squid3" does not start it again, even after the connfiguration has been fixed. For example, with squid running, add a nonsense line into the configuration. Reload with "systemctl reload squid3". Now "systemctl status squid3" shows: ● squid3.service - LSB: Squid HTTP Proxy version 3.x Loaded: loaded (/etc/init.d/squid3) Active: active (exited) since Mon 2015-09-28 13:31:37 NZDT; 12min ago Process: 25937 ExecReload=/etc/init.d/squid3 reload (code=exited, status=0/SUCCESS) Sep 28 13:42:52 juliet (squid-1)[25955]: Bungled /etc/squid3/squid.conf line 658: acl nonsense nonsense nonsense and: echo $? 0 systemctl knows squid has exited, but it reports that it is active, which might be correct for a one-shot process, but not for a daemon like squid. When squid has exited, systemctl should report it as inactive. Now if we fix the configuration and type: systemctl start squid3 (no output) echo $? 0 but squid is still not running. My assumption is that since systemd thinks it is active, it does not bother to do anything to start it. (A "systemctl restart squid3" will start it up now.) This means anything that relies on systemd to manage squid (in my case ansible) is going to be broken. I assume having a proper unit file for systemd would fix this. And failing that, modificaiton of the init script might do so? -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages squid3 depends on: ii adduser 3.113+nmu3 ii libc6 2.19-18 ii libcap2 1:2.24-8 ii libcomerr2 1.42.12-1.1 ii libdb5.3 5.3.28-9 ii libecap2 0.2.0-3 ii libexpat1 2.1.0-6+deb8u1 ii libgcc1 1:4.7.2-5 ii libgssapi-krb5-2 1.12.1+dfsg-19 ii libk5crypto3 1.12.1+dfsg-19 ii libkrb5-3 1.12.1+dfsg-19 ii libldap-2.4-2 2.4.40+dfsg-1 ii libltdl7 2.4.2-1.11 ii libnetfilter-conntrack3 1.0.4-1 ii libnettle4 2.7.1-5 ii libpam0g 1.1.8-3.1 ii libsasl2-2 2.1.25.dfsg1-6+deb7u1 ii libstdc++6 4.9.1-19 ii libxml2 2.9.1+dfsg1-5 ii logrotate 3.8.7-1+b1 ii lsb-base 4.1+Debian13+nmu1 ii netbase 5.3 ii squid3-common 3.4.8-6+deb8u1 squid3 recommends no packages. Versions of packages squid3 suggests: pn resolvconf <none> ii smbclient 2:3.6.6-6+deb7u2 pn squid-cgi <none> pn squid-purge <none> pn squidclient <none> pn ufw <none> pn winbindd <none> -- Configuration Files: /etc/squid3/squid.conf changed [not included] -- no debconf information

