Your message dated Sat, 26 Sep 2026 20:23:07 +0000
with message-id <[email protected]>
and subject line Bug#1143215: fixed in libhttp-server-simple-perl 0.52-3
has caused the Debian Bug report #1143215,
regarding sysread calls should check for EINTR
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.)
--
1143215: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143215
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libhttp-server-simple-perl
Version: 0.52-2
Here's some of the code in Simple.pm:
while ( sysread( STDIN, my $buff, 1 ) ) {
last if $buff eq "\n";
$chunk .= $buff;
}
Suppose a signal arrives while this is executing, but doesn't cause
perl to exit or anything. Perl's signal handling machinery doesn't
set SA_RESTART nowadays. read(2) will return -1 setting errno to
EINTR. And then this will fail.
(Normal perl IO operations, so not sysread and syswrite, have the
:perlio layer which does retrying on EINTR, so are fine.)
IMO HTTP::Server::Simple ought to handle EINTR from sysread (returns
undef, sets $!) by restarting teh call.
Background:
I think this is the cause of a flaky test case
https://salsa.debian.org/dgit-team/dgit/-/work_items/34
It fails very rarely. The script uses HTTP::Server::Simple::Static
and has a periodic SIGALRM liveness check, so there is indeed some
slight risk of a signal arriving at just the wrong moment.
The full script is here
https://salsa.debian.org/dgit-team/dgit/-/blob/main/tests/http-static-server#L46
I could try to prepare a patch, if you like.
Thanks,
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.
--- End Message ---
--- Begin Message ---
Source: libhttp-server-simple-perl
Source-Version: 0.52-3
Done: gregor herrmann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libhttp-server-simple-perl, 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.
gregor herrmann <[email protected]> (supplier of updated
libhttp-server-simple-perl 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: Sat, 26 Sep 2026 21:32:27 +0200
Source: libhttp-server-simple-perl
Architecture: source
Version: 0.52-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 1143215
Changes:
libhttp-server-simple-perl (0.52-3) unstable; urgency=medium
.
* Add patchset from Ian Jackson to handle EINTR. (Closes: #1143215)
* Update years of packaging copyright.
* Declare compliance with Debian Policy 4.7.4.
* Remove «Priority: optional», which is the current default.
* Annotate test-only build dependencies with <!nocheck>.
* Convert debian/watch to version 5.
* Set upstream metadata fields: Bug-Database, Bug-Submit.
Checksums-Sha1:
39d427b1cef29998d7662f37ab46a79535e8be3b 2662
libhttp-server-simple-perl_0.52-3.dsc
aa8df3795aeab810e79ec0f240dad8070d6862d5 9644
libhttp-server-simple-perl_0.52-3.debian.tar.xz
08acd3f75e058530306d2ed4e6723ff4983f0130 192704
libhttp-server-simple-perl_0.52-3.git.tar.xz
85a1d6c5f417e4140f7ac2d86088a1040d46f4aa 17796
libhttp-server-simple-perl_0.52-3_source.buildinfo
Checksums-Sha256:
9e82b79fc5e7545eddd3e1d668cc7fc4eedddd825a8d47ad0fe3f2eb350a99fd 2662
libhttp-server-simple-perl_0.52-3.dsc
87530379521ad98ae6b3819500d5bdf0c8de2fc275b2447b03c952004c8e8147 9644
libhttp-server-simple-perl_0.52-3.debian.tar.xz
df2c0c30264e428f1bbed1fbdeb6c18f11addf8f228ee36f5072a8b4646d3863 192704
libhttp-server-simple-perl_0.52-3.git.tar.xz
6b1642d75bb5e5a6b34cd109f08c362d25f3713cbac85311a64daa788161fee6 17796
libhttp-server-simple-perl_0.52-3_source.buildinfo
Files:
8d69f0f983dff0ac2d7a2365296efea6 2662 perl optional
libhttp-server-simple-perl_0.52-3.dsc
e64ed897d9c958cb100f59f1e5b87ebf 9644 perl optional
libhttp-server-simple-perl_0.52-3.debian.tar.xz
1fa031052e35586c3614f9c74575e3e0 192704 perl None
libhttp-server-simple-perl_0.52-3.git.tar.xz
858e3b320a0c393b82529d04fcf58995 17796 perl optional
libhttp-server-simple-perl_0.52-3_source.buildinfo
Git-Tag-Info: tag=48a2bf828336df40269a7edbdf8cf96478f94010
fp=d1e1316e93a760a8104d85fabb3a68018649aa06
Git-Tag-Tagger: gregor herrmann <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq4H5QACgkQYG0ITkaD
wHlJhQ//ePq3UOE/gb3O9b5a9mtWZDgq8Obne04wbbPM+1oZEIUCwLNWcLqd72pS
LchYL9KeByZ7V9P2ILIVSzyWb3/k2y6Jb4VnXCu6HNGbP7PZFM8pvv3GQxdxz31L
Ga1CnADA5OF4J73quL8NoxjPKBpWx3s7eY9idN51v5XVo82xl/SPUcRByJAw1B+w
abw+PZVrZtWV3Dvdyuu9AYg5XViPg4VJkciaxosMvdW2ZhIomaFjDL69oPIRIE5M
/VBSfijgZ3KoiL6tSu1utCqKTB5kx5NUnxZkAHSzSDC/KHCeS4GpDPGDrh31D9dk
VB258qCKsSoDQecvxSZ5it7dX1khVz7faywMwz1mG8JW9QbIP48ZYfz003Z03Kc5
1KzYdDOEIbAW+M/PuDnV1d9nkQXFtWw3+ZFnkEB7yQFIsNO7jAWbUsiETzpUPtex
b9EWRvQyrqXGWHYhLHrV3aRdVFVnLwAaYheHRtVyabzCMYn1ptxUZUfFvrzGhg8z
QTt2cQF0RET6cqEtdgeVv10G43fP/3toyNvmwur6VEKi5ff1lDJE/DMsONWi7zSc
z2pR/CduB2e585f6uOjTetz7ksCxEU1LZeRYO7LqWA79h9wG3nVTZgbLRFD98FtW
p+h6kIFYIRqqDpEoT1FKnhsXrHaJZkB8I0TMVVAAqe/k8/veH/0=
=zBgp
-----END PGP SIGNATURE-----
pgpHjuHrv51Md.pgp
Description: PGP signature
--- End Message ---