Your message dated Sat, 07 Jul 2018 14:32:09 +0000
with message-id <[email protected]>
and subject line Bug#880427: fixed in tinyproxy 1.8.4-3~deb9u1
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 [email protected]
immediately.)


-- 
880427: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880427
Debian Bug Tracking System
Contact [email protected] 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~deb9u1

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Wed, 28 Feb 2018 19:33:56 +0200
Source: tinyproxy
Binary: tinyproxy
Architecture: source
Version: 1.8.4-3~deb9u1
Distribution: stretch
Urgency: medium
Maintainer: Ed Boraas <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Description:
 tinyproxy  - Lightweight, non-caching, optionally anonymizing HTTP proxy
Closes: 870325 880427
Changes:
 tinyproxy (1.8.4-3~deb9u1) stretch; urgency=medium
 .
   * Non-maintainer upload.
   * Rebuild for stretch.
 .
 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:
 b2f9d20f30fff82589393a0f888f67cf928bef96 2182 tinyproxy_1.8.4-3~deb9u1.dsc
 7d15570e3cc74e24fcf87954dc15a6debe7595fa 20804 
tinyproxy_1.8.4-3~deb9u1.debian.tar.xz
Checksums-Sha256:
 37e54277ed4786c9413d6b2ed9199e83e8081e746905269489ad0d7e288e37c6 2182 
tinyproxy_1.8.4-3~deb9u1.dsc
 08f71cd1b1200758cba3abcbce3537470963ac9a0dca41069b6ce3e0cfeab14b 20804 
tinyproxy_1.8.4-3~deb9u1.debian.tar.xz
Files:
 b8a21d17865e535a9d247c5eb093d798 2182 web optional tinyproxy_1.8.4-3~deb9u1.dsc
 414b059cc8b003d31e8003a347a421a5 20804 web optional 
tinyproxy_1.8.4-3~deb9u1.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlqW+t4ACgkQiNJCh6LY
mLHXqw/+KU/2wTHq4MP8ecsH/qHPvMwp211IHcC7j9ATCs8CFZsoFEHMX+5hREni
IXZ9rejfLLDTwyAHZzXdq5klsREsiL8UiagZCYJs1c5TW+ALSLU2Ib7KcekOQY8X
X2u+K36ZBXYvkdCdxfZnytOfWRddcruRcsr2GMCs51iZWr19Qers5oTCy7z+ZNZ3
A0uvhozOZRJIJSdqz7a4JokhGImUGMt5/V6S5bMWfBRr+cHdo61WhjdVw4Rq0FYv
hVaT5hZ37oSD+jPxX2MJimp4ecJHnT68lYbbOVOSufiXGAR6Zt/a+SsNwX4lqBGz
zzc11aO1ysyo6XJgQTUE9S9Q776BtptzS3P66CDJVFHU0iC9CwCIHZ8/417+HHpF
AiFZbsqQk6F4w2NO30G15Y29gnvzWjSl9cOlFIcaz2lxgI1yalOTvNfm8asRBkAt
ZTliaU/lavwQzeLuvggwaWTY6uOS/HBCJrb1Z0qCPsAxpFDRfpyeMKbE5FArqTcp
pWM+F2ubqnGmmBvAPaYAMmgtd4n5QrJDjH01D2Y9Hp1bFrOpL9qwJVLp4usJrdWd
AB0zCw0FmsIAfV/mq30XjhVEI5SjhfXxS8Vq10V6UuZciD/BaXCkeQ9iNZgPNFNh
eoZ13Hkp92HthVMYXTHOoG0Bqd+1depErftPcdPd9M6z8GNA1aU=
=ENSj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to