Your message dated Wed, 15 Nov 2017 01:49:56 +0000
with message-id <e1eempw-0007vq...@fasolo.debian.org>
and subject line Bug#880427: fixed in tinyproxy 1.8.4-3
has caused the Debian Bug report #880427,
regarding tinyproxy: If tinyproxy receives a SIGHUP, then the children exit 
without being restarted and tinyproxy hangs.
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 ow...@bugs.debian.org
immediately.)


-- 
880427: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880427
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tinyproxy
Version: 1.8.4-2
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?
   
   Hanging tinyproxy, no proxied connections are handled anymore.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   Logrotate sends a SIGHUP, which triggers this problem.

   * What was the outcome of this action?

   Unusable tinyproxy.

   * What outcome did you expect instead?

   Usable tinyproxy


   Please see patch below

-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.19-1-pve (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tinyproxy depends on:
ii  init-system-helpers  1.48
ii  libc6                2.24-11+deb9u1
ii  logrotate            3.11.0-0.1
ii  lsb-base             9.20161125

tinyproxy recommends no packages.

tinyproxy suggests no packages.
-- no debconf information

########### PATCH BELOW

--- tinyproxy-1.8.4/src/child.c 2015-12-07 15:19:00.000000000 +0100
+++ tinyproxy/src/child.c       2017-10-31 13:38:48.542095431 +0100
@@ -233,6 +233,9 @@
 
                 ret = select(maxfd + 1, &rfds, NULL, NULL, NULL);
                 if (ret == -1) {
+                        if (errno == EINTR) {
+                                continue;
+                        }
                         log_message (LOG_ERR, "error calling select: %s",
                                      strerror(errno));
                         exit(1);

--- End Message ---
--- Begin Message ---
Source: tinyproxy
Source-Version: 1.8.4-3

We believe that the bug you reported is fixed in the latest version of
tinyproxy, 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 880...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <jo...@debian.org> (supplier of updated tinyproxy 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 15 Nov 2017 02:28:58 +0100
Source: tinyproxy
Binary: tinyproxy
Architecture: source amd64
Version: 1.8.4-3
Distribution: unstable
Urgency: medium
Maintainer: Ed Boraas <e...@debian.org>
Changed-By: Jordi Mallach <jo...@debian.org>
Description:
 tinyproxy  - Lightweight, non-caching, optionally anonymizing HTTP proxy
Closes: 870325 880427
Changes:
 tinyproxy (1.8.4-3) unstable; urgency=medium
 .
   * Add sighup_hang.patch: Fix Tinyproxy ceasing to listen to connections
     after it receives a SIGHUP, something that happens daily in our default
     setup (closes: #880427).
   * Fix path to tinyproxy.conf in sysvinit script. Thanks, Guo Yixuan (郭溢譞)
     (closes: #870325).
   * Add Depends on adduser.
   * Update Standards-Version to 4.1.1, with no changes needed.
Checksums-Sha1:
 1bf5c1fb47c49bd509a7c8e4ab8ef8dd5f1b784c 2154 tinyproxy_1.8.4-3.dsc
 e21b8b0f390fa870722fda741ca36bb494eca7ad 20728 tinyproxy_1.8.4-3.debian.tar.xz
 fb00e10e13ff65c2aa8aac334050492989fe441f 99032 
tinyproxy-dbgsym_1.8.4-3_amd64.deb
 12fa4d61da8c17f1855bef51bfde18c5b1960dd7 6444 tinyproxy_1.8.4-3_amd64.buildinfo
 02ef7db42626a150736b55ff9ffdafa5cda030f2 86124 tinyproxy_1.8.4-3_amd64.deb
Checksums-Sha256:
 f73ea8fab4bcb517882c273238ad8ac21714182a3784f773dfb3734d7d7e1502 2154 
tinyproxy_1.8.4-3.dsc
 322f03a2de9f9b029ad641c35d344e86122c6a848e4f8250ebe645216e70d7ae 20728 
tinyproxy_1.8.4-3.debian.tar.xz
 5bdbf2a1d86db34dccad3c547689f7adf2d58f9f8c0631898069965c9054ced2 99032 
tinyproxy-dbgsym_1.8.4-3_amd64.deb
 31bad78cd5e975af5ccca6c2814b3e3e9cdc5a220dd87653a7f618f0bc1c7f3c 6444 
tinyproxy_1.8.4-3_amd64.buildinfo
 14616bd290e9f1928bcdba5a1cd1c7b7cd3e5112069c06e2f10117f293d70715 86124 
tinyproxy_1.8.4-3_amd64.deb
Files:
 2cb691a6735b7b77b4eb35f96409caa9 2154 web optional tinyproxy_1.8.4-3.dsc
 1a674373d21871458debbe905613d61f 20728 web optional 
tinyproxy_1.8.4-3.debian.tar.xz
 c33680f902e4572cbe2db0c9fd5db910 99032 debug optional 
tinyproxy-dbgsym_1.8.4-3_amd64.deb
 a864253ba05397ece6cf414d862277aa 6444 web optional 
tinyproxy_1.8.4-3_amd64.buildinfo
 13653381748f1ce9b8d1592e696a74b3 86124 web optional tinyproxy_1.8.4-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6BdUhsApKYN8KGoWJVAvb8vjywQFAloLmk8ACgkQJVAvb8vj
ywT93g//UMo/VJ4Xok/pN77psuLTmEf+psIgPHniu89JBAxRXQMn9pK/4lMzeWMV
uVk0RYMiTHjEW/AkZceYFjZ1a+ok/MK1AZbKjZbKhgHO+Xd7xEaSX+nS0muh+5N3
23OYlx+vqsVJEoAbSWHHBdMwG2UGSfVcdMqojH6wfq3udzGTJCqd0qo9kn/y4wMB
CUFHmjTbj1tJI7JvE1gWKu0nzCCycQ73AKFrtLVq0pqy9orBKkmkVU9/QzQuxzQr
9lnrY6v6l5d6Ef60YzhrtYBumC8dbeHKP27OA9L1pvTCVw2tR3xFCzVa8SW01WS6
d8uel3WnMKXstnRnwLOhQIQZAd7m338+NAc4vGaJbAVGYrdvkziSgv3ti4GmyrPr
vh5xQfOrGU0VG6huZmURHElwbJeSj+/Ta284s4vJ5n/BJe/NtXdWY8MgvPEGFm8D
cG0TlECvfET89JcKk/GoH/EcOLMjndMDGW7Z/nqTHiNO2FzYz0JjX2+vRzh9+JYi
DYC9FVF5c3+i+WUF2Ohs/8tbmMlKWvCZDDG9jSxOlShbxvIe2Je3qHRTayl6V5Oa
OD0oYOLLTwJZXD2uBNN5N78DeVxmn+E21ALbUDErn/Jve0P2whrvDHIfYlov52vg
XgC3jOMmwBltyH5cnEExKyHqCudmRQJcwOCfydJXuBQx1YqB7z4=
=dZ0k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to