Your message dated Wed, 22 Aug 2018 12:34:33 +0000
with message-id <[email protected]>
and subject line Bug#903165: fixed in squid 4.2-1
has caused the Debian Bug report #903165,
regarding On boot squid.service starts but doesn't work
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
903165: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903165
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: squid
Version: 4.1-1
Severity: normal
For testing purposes I use squid proxy on my laptop.
Since upgrading to 4.1, when the system boots, squid service is not
operating properly: it always fails to resolve DNS names. And I have to
restart the service in order to make it work.
Here is the output of "journalctl -u squid.service", that reveals the
culprit:
---------------
lug 07 12:53:13 etna systemd[1]: Starting Squid Web Proxy Server...
lug 07 12:53:13 etna squid[698]: setsid failed: (1) Operation not permitted
lug 07 12:53:13 etna squid[698]: 2018/07/07 12:53:13| Created PID file
(/var/run/squid.pid)
lug 07 12:53:13 etna squid[698]: Squid Parent: will start 1 kids
lug 07 12:53:13 etna squid[698]: Squid Parent: (squid-1) process 751 started
lug 07 12:53:13 etna squid[698]: 2018/07/07 12:53:13 kid1| Set Current
Directory to /var/spool/squid
lug 07 12:53:13 etna squid[698]: 2018/07/07 12:53:13 kid1| Creating missing
swap directories
lug 07 12:53:13 etna squid[698]: 2018/07/07 12:53:13 kid1| No cache_dir stores
are configured.
lug 07 12:53:13 etna squid[698]: Squid Parent: squid-1 process 751 exited with
status 0
lug 07 12:53:13 etna squid[698]: 2018/07/07 12:53:13| Removing PID file
(/var/run/squid.pid)
lug 07 12:53:13 etna squid[796]: Created PID file (/var/run/squid.pid)
lug 07 12:53:13 etna squid[796]: Squid Parent: will start 1 kids
lug 07 12:53:13 etna squid[796]: Squid Parent: (squid-1) process 801 started
lug 07 12:53:13 etna systemd[1]: Started Squid Web Proxy Server.
lug 07 12:53:13 etna squid[801]: Set Current Directory to /var/spool/squid
lug 07 12:53:13 etna squid[801]: Starting Squid Cache version 4.1 for
x86_64-pc-linux-gnu...
lug 07 12:53:13 etna squid[801]: Service Name: squid
lug 07 12:53:13 etna squid[801]: Process ID 801
lug 07 12:53:13 etna squid[801]: Process Roles: worker
lug 07 12:53:13 etna squid[801]: With 1024 file descriptors available
lug 07 12:53:13 etna squid[801]: Initializing IP Cache...
lug 07 12:53:13 etna squid[801]: DNS Socket created at [::], FD 5
lug 07 12:53:13 etna squid[801]: DNS Socket created at 0.0.0.0, FD 9
lug 07 12:53:13 etna squid[801]: /etc/resolv.conf: (2) No such file or directory
lug 07 12:53:13 etna squid[801]: Warning: Could not find any nameservers.
Trying to use localhost
lug 07 12:53:13 etna squid[801]: Please check your /etc/resolv.conf file
lug 07 12:53:13 etna squid[801]: or use the 'dns_nameservers' option in
squid.conf.
lug 07 12:53:13 etna squid[801]: Logfile: opening log
daemon:/var/log/squid/access.log
lug 07 12:53:13 etna squid[801]: Logfile Daemon: opening log
/var/log/squid/access.log
lug 07 12:53:13 etna squid[801]: Local cache digest enabled; rebuild/rewrite
every 3600/3600 sec
lug 07 12:53:13 etna squid[801]: Store logging disabled
lug 07 12:53:13 etna squid[801]: Swap maxSize 0 + 262144 KB, estimated 20164
objects
lug 07 12:53:13 etna squid[801]: Target number of buckets: 1008
lug 07 12:53:13 etna squid[801]: Using 8192 Store buckets
lug 07 12:53:13 etna squid[801]: Max Mem size: 262144 KB
lug 07 12:53:13 etna squid[801]: Max Swap size: 0 KB
lug 07 12:53:13 etna squid[801]: Using Least Load store dir selection
lug 07 12:53:13 etna squid[801]: Set Current Directory to /var/spool/squid
lug 07 12:53:13 etna squid[801]: Finished loading MIME types and icons.
lug 07 12:53:13 etna squid[801]: HTCP Disabled.
lug 07 12:53:13 etna squid[801]: Pinger socket opened on FD 14
lug 07 12:53:13 etna squid[801]: Squid plugin modules loaded: 0
lug 07 12:53:13 etna squid[801]: Adaptation support is off.
lug 07 12:53:13 etna squid[801]: Accepting HTTP Socket connections at
local=[::]:3128 remote=[::] FD 12 flags=9
lug 07 12:53:14 etna squid[801]: storeLateRelease: released 0 objects
---------------
As you can see, when squid starts it cannot find /etc/resolv.conf and so
seems to fallback to use a local nameserver, that is not present here.
Here networking is managed by NetworkManager and /etc/resolv.conf is
currently a symbolic link to /run/NetworkManager/resolv.conf
Looks like squid.service starts too early, when the link is still not
set.
Cesare.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8),
LANGUAGE=it_IT.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.117
ii libc6 2.27-3
ii libcap2 1:2.25-1.2
ii libcom-err2 1.44.3~rc2-1
ii libdb5.3 5.3.28-13.1+b1
ii libdbi-perl 1.641-1
ii libecap3 1.0.1-3.2
ii libexpat1 2.2.5-3
ii libgcc1 1:8.1.0-9
ii libgnutls30 3.5.18-1
ii libgssapi-krb5-2 1.16-2
ii libkrb5-3 1.16-2
ii libldap-2.4-2 2.4.46+dfsg-5
ii libltdl7 2.4.6-2.1
ii libnetfilter-conntrack3 1.0.7-1
ii libnettle6 3.4-1
ii libpam0g 1.1.8-3.7
ii libsasl2-2 2.1.27~101-g0780600+dfsg-3.1
ii libstdc++6 8.1.0-9
ii libxml2 2.9.4+dfsg1-7+b1
ii logrotate 3.11.0-0.1
ii lsb-base 9.20170808
ii netbase 5.4
ii squid-common 4.1-1
Versions of packages squid recommends:
ii ca-certificates 20180409
ii libcap2-bin 1:2.25-1.2
Versions of packages squid suggests:
pn resolvconf <none>
pn smbclient <none>
pn squid-cgi <none>
ii squid-purge 4.1-1
ii squidclient 4.1-1
pn ufw <none>
pn winbindd <none>
-- Configuration Files:
/etc/squid/squid.conf changed:
debug_options ALL,1
http_port 3128
cache_mgr webmaster
cachemgr_passwd none all
shutdown_lifetime 5 seconds
coredump_dir /var/spool/squid
acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10 # RFC 6598 shared address space (CGN)
acl localnet src 169.254.0.0/16 # RFC 3927 link-local (directly
plugged) machines
acl localnet src 172.16.0.0/12 # RFC 1918 local private network (LAN)
acl localnet src 192.168.0.0/16 # RFC 1918 local private network (LAN)
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly
plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 3128 # squidclient
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
http_access deny all
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: squid
Source-Version: 4.2-1
We believe that the bug you reported is fixed in the latest version of
squid, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luigi Gangitano <[email protected]> (supplier of updated squid package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 22 Aug 2018 13:57:15 +0200
Source: squid
Binary: squid3 squid squid-common squidclient squid-cgi squid-purge
Architecture: source amd64 all
Version: 4.2-1
Distribution: unstable
Urgency: high
Maintainer: Luigi Gangitano <[email protected]>
Changed-By: Luigi Gangitano <[email protected]>
Description:
squid - Full featured Web Proxy cache (HTTP proxy)
squid-cgi - Full featured Web Proxy cache (HTTP proxy) - control CGI
squid-common - Full featured Web Proxy cache (HTTP proxy) - common files
squid-purge - Full featured Web Proxy cache (HTTP proxy) - cache management uti
squid3 - Transitional package
squidclient - Full featured Web Proxy cache (HTTP proxy) - HTTP(S) message util
Closes: 903165
Changes:
squid (4.2-1) unstable; urgency=high
.
[ Amos Jeffries <[email protected]> ]
* New Upstream Release
.
* debian/patches/
- Patch to use installed binary for upstream config tests
- Remove patches included upstream: 0011-upstream-pr172.patch
- Add upstream pr264 patch for systemd (Closes: #903165)
.
* debian/control
- Bumped Standards-Version to 4.2.0.0, no change needed
.
[ Andreas Hasenack ]
* Enable CDBS parallel build
* d/t/upstream-test-suite: also make libmem.la, needed by the tests.
* d/t/test-squid.py: fix apparmor profile filename
* debian/tests/control: add ssl-cert to the list of dependencies of the
squid test, as apache is configured to load
/etc/ssl/certs/ssl-cert-snakeoil.pem in that test.
* d/t/test-squid.py: fix the process name. The PID points at the parent.
.
[ Luigi Gangitano ]
* debian/control
- Fix Vcs-Git and Vcs-Browser URLs
Checksums-Sha1:
cf66c80e4ee7905fdf4f0bba2035576751292b54 2595 squid_4.2-1.dsc
127f10cc54de3221d62f97b6d92ee8048dccbaea 5147755 squid_4.2.orig.tar.gz
2ccec9d82e5b4260e44da3664dbc154d1f271cb5 36736 squid_4.2-1.debian.tar.xz
c240b14c75070e5b487fe3e3ee73c6a541cc44ec 231300
squid-cgi-dbgsym_4.2-1_amd64.deb
f1931ebcf26afe3066b967e4e29e2613561ce0c9 183500 squid-cgi_4.2-1_amd64.deb
97ceccd7ce62ef58908c2e6801d622d944e3c9cc 306624 squid-common_4.2-1_all.deb
6877d01781aa2b7b3b68946e7fe3d9fc4be961f5 31248852 squid-dbgsym_4.2-1_amd64.deb
c1bbb890ce270db657093a9c461768988baba34e 137184
squid-purge-dbgsym_4.2-1_amd64.deb
8d798ae3f682f9db3b8cbe9d60871d1283c3d393 175024 squid-purge_4.2-1_amd64.deb
08551f695e1550ad8a7ddf5d0aaca78b9520c5b1 155208 squid3_4.2-1_all.deb
161f84916c738950b2ed971ab7b6d27104d582ad 10273 squid_4.2-1_amd64.buildinfo
f82e83c95c68815c06c096ffd8bceeeaf0960dd6 2628584 squid_4.2-1_amd64.deb
a9d8e15fa82fc838cfa12a762058e255dc62f226 297212
squidclient-dbgsym_4.2-1_amd64.deb
302831fdcd7e27da684afea5cbc58c2828569dff 187568 squidclient_4.2-1_amd64.deb
Checksums-Sha256:
d323011b538b36dbb3ce1f1c7476b3f1e523f65aa4eb475e06c4838b8ed46265 2595
squid_4.2-1.dsc
55bb15d21ab8272b0d9a481cc1e68a55bccf0d6002078fd55e7d0f979f32fbaa 5147755
squid_4.2.orig.tar.gz
34d96673bebfcddd6f6a997b8939471bf8c7215450ac6ffcd05348947a0df7b6 36736
squid_4.2-1.debian.tar.xz
9a52ceff13bacdda09ae41728683fcfb81ec6a0a5707a70e6121054e4286f929 231300
squid-cgi-dbgsym_4.2-1_amd64.deb
729c07cf546b7a1bc2d1f22facff9cf5a26c5dc094b16c86d33caf0039499124 183500
squid-cgi_4.2-1_amd64.deb
2b12f4ceb65fb90c3adc542e6b3c00edb20e3cef5341150b8cab39919845ea40 306624
squid-common_4.2-1_all.deb
13a41e6e243ee7eb02d2860559c29cae750ddd02eafa2091dad71ab40cb47bf6 31248852
squid-dbgsym_4.2-1_amd64.deb
ac22d80de9838b4da357699bc641cabf89767a9540ec0660af2e6a32273e017e 137184
squid-purge-dbgsym_4.2-1_amd64.deb
6fafda557f87e7ad32572a45a753c9343fbcc9b509cda8d68cfcbf9d2e13b999 175024
squid-purge_4.2-1_amd64.deb
4f5e1ca0ec745dc8e58832726d7faf9d9e47716586a397c001a852bdfe710618 155208
squid3_4.2-1_all.deb
085a2b4caf8107ee5e6714ed6b449bd76766f3c72d49c250fd7794ca7aeaaf44 10273
squid_4.2-1_amd64.buildinfo
43796a79020d49ddb52f28ee1d64e4f4b85530d7ef151fc24e6b75a923c39269 2628584
squid_4.2-1_amd64.deb
3c5463954402aff1d86aaa15b9e44fe7500eef85fbf03a1eb9f8997bb6073e8c 297212
squidclient-dbgsym_4.2-1_amd64.deb
c72ae6b6abd346fd52069e2784797a112732c479be0b882ccef6204ae45ef6c1 187568
squidclient_4.2-1_amd64.deb
Files:
bb07534664d769e171fda8b7cba8e8ff 2595 web optional squid_4.2-1.dsc
23d6f74d170484161a299832719f8869 5147755 web optional squid_4.2.orig.tar.gz
145fcd3c3fb8115b8a425e8eec9d81bc 36736 web optional squid_4.2-1.debian.tar.xz
302cc9afdc69a2ae42fc975411b67ae6 231300 debug optional
squid-cgi-dbgsym_4.2-1_amd64.deb
fa313f0b859abdd458764e830ce94ccb 183500 web optional squid-cgi_4.2-1_amd64.deb
a5d6e4f4c61c493d0fbf072b6f2a5d76 306624 web optional squid-common_4.2-1_all.deb
4e008806aa1e56839f12afc19dee589a 31248852 debug optional
squid-dbgsym_4.2-1_amd64.deb
936444a55f6a3c22ffa54e94edbbd240 137184 debug optional
squid-purge-dbgsym_4.2-1_amd64.deb
5093a2db95e06e62eb5e6d9fb751b0f0 175024 web optional
squid-purge_4.2-1_amd64.deb
8be5f946ac07023771599128e73a7172 155208 oldlibs optional squid3_4.2-1_all.deb
a283e73eb7a7ff498552e513cb596258 10273 web optional squid_4.2-1_amd64.buildinfo
81f10db8045e12dad87a9686060879cc 2628584 web optional squid_4.2-1_amd64.deb
a659fd03c3af8ba3ed738f88be0f7a27 297212 debug optional
squidclient-dbgsym_4.2-1_amd64.deb
df93eb24f243f90975c2683311770e28 187568 web optional
squidclient_4.2-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEjUhaNf8ebreQ5Q9tAoTyDCupfO0FAlt9VWsACgkQAoTyDCup
fO0+TA/7Bor2cVegmeqjzIVwYglkExE7xvvbZNkf10HAM9q1KcAde/kBXN6d5You
+ROyEAX1Ejzp5DSCXWWJvrjNhJkmfU8+ae3SWD1LPSSJW6S9XT/a8yMoYC7/uvej
tsjTb4i+SvLAjvw1HrzJR5NxLrWlrItAEymXw+89VDjsvL09WnMH+oE5BLnLr7Am
oh26M++AEvW9MbA64E5bNG28rFn6y/o2O24fCNN32rJnDux4j5+U0JacQA0KZMxD
ZK6/zXAocGwe7egB4V4S0aEaDuPnN7PYXt5dIi4cKHmIbpP5A3QtYhiPgyp2xn4I
FqhtesuHVNBftiMHV1A5R0FJ4r1Lcqv4roGfEtbPUzGNR+Z/kmPeOMg6uSv/IZ4w
GXAX2pY4kuYZyU6m7g60PphH2C6aK2zdB4evojg+0YUXZsex13CzAy1+OBD4iLmz
BvL/k+zzN3sKmaUzJ3luTA57VBNblitXnwnoEJNgCgSp+QoUQHqtkwbEG89JBL6d
HOXAfS/JLYVmqg+aBZ6wYFvd6tdwfKKIlBW6hdfvd0SmZSu7iuKKRHBwAUuAQ6nt
6YtGtTqsHMHSob9mCvgivxQjjkJ8YT5gFzJcyW73AteMFdWAyKRkY59IrYsLvfI3
iiG+pTB3g/VMnZejbUJSkdzSPFrB8plKdNN2h+lGB5B7VAMtjLo=
=6Xl0
-----END PGP SIGNATURE-----
--- End Message ---