🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3206

Bug#1069450:

#3206
From: Simon Josefsson
Date: Wed, 04 Nov 2026 08:50
117 lines
7127 bytes
--=-=-=
Content-Type: text/plain

Thanks for continued testing related to this problem.

As suggested by earlier discussion, this issue is delicate, and I think
what we have managed to do is to get the 'socket-wrapper' self-tests
working by modifying various compiler parameters, but this makes the
self-tests no longer test real-world application usage of
socket-wrapper, so it is merely covering up the real problem.

One "simple" solution is to drop armhf support.  That has consequences
for other packages though (they have to make socket-wrapper an optional
dependency, or arrange so it is not run on armhf).  If we could find a
way to make it easier for consumers of this package to not have to
special-case armhf, I'm for this solution.

I assume what you are seeing is the same problem discussed in this bug
report, so it feels fine to continue discuss it here.  If it is caused
by something else (not entirely impossible) then a separate bug is in
order.  But until we have confirmation one way or another, having all
armhf+32vs64bit issues in this bug report seems fine.

/Simon

Aron Xu <aron@debian.org> writes:

> Hi,
>
> I would like to add a downstream runtime example to the time64 discussion
> here. This is distinct from the original socket-wrapper build failure.
>
> The ocserv 1.6.0-2 autopkgtest on testing/armhf [1] installs:
>
>   libsocket-wrapper       1.5.2-2+b2
>   python3.14-minimal       3.14.10-1
>   libopenconnect5         9.21-5
>
> Two tests fail while setting TCP_NODELAY under LD_PRELOAD=libsocket_wrapper.so:
>
>   haproxy-auth, in the OpenConnect client:
>     Failed setsockopt(TCP_NODELAY) on TLS socket:: Operation not supported
>
>   test-gssapi-opt-pass, in Python's http.client connection setup:
>     self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
>     OSError: [Errno 95] Operation not supported
>
> The latter fails before reaching the intended GSSAPI-to-password fallback
> exchange. These are not the OIDC test privilege issues fixed in ocserv
> 1.6.0-2; those tests pass in this run.
>
> I downloaded the exact armhf package versions listed above and inspected
> their dynamic symbol tables with readelf. The results are:
>
>   libsocket_wrapper.so exports:
>     setsockopt
>     getsockopt
>
>   /usr/bin/python3.14 and libopenconnect.so.5.10.0 import:
>     __setsockopt64@GLIBC_2.34
>     __getsockopt64@GLIBC_2.34
>
> The wrapper has no exported __setsockopt64 or __getsockopt64 symbols.
> Python's _socket module is built into the inspected interpreter. This points
> to an interposition gap for time64-built applications.
>
> This seems relevant to the earlier caution in this report that passing
> socket-wrapper's own tests does not necessarily establish correctness for
> applications using it. It also appears related to upstream bug #15720 [4],
> although that report does not explicitly discuss these socket-option
> symbols.
>
> Would you prefer to track the missing time64 socket-option interception
> here, or should this be filed as a separate runtime bug?
>
> Thanks,
> Aron
>
> [1] https://ci.debian.net/data/autopkgtest/testing/armhf/o/ocserv/77442865/log.gz
> [2] https://raw.githubusercontent.com/bminor/glibc/master/socket/sys/socket.h
> [3] https://sources.debian.org/data/main/s/socket-wrapper/1.5.2-2/src/socket_wrapper.c
> [4] https://bugzilla.samba.org/show_bug.cgi?id=15720
>
>
> _______________________________________________
> Pkg-sssd-devel mailing list
> Pkg-sssd-devel@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-sssd-devel
>

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmrq79AbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS
zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr
tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C
GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG
vgUCatfMtwUJD2HCAwAKCRDXPPY4xTwGvue9AP40ROc4bUzq1zxU43T76rWP+6jv
mKO/CaPer1S2fZMOtQEAuMKQ3X/qP75LtsbJG82TaaIkg2UM5Mw+pp0UOfPJ6Aq4
OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pPVaRMejyZnScmD7d5
TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCatfL
twUJD2HATQAKCRDXPPY4xTwGvocHAP9g1zG1w10/lhb7ksrN9T8xnHTOZNibd27d
k+X+leRCkQD+OWllYuM1N1ZA/a5Qjyv7pnq+hrxeqSg+cnm4ArlDQwa4MwRcks+B
FgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1
BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmrXy7oFCQ9hwDYAgXYg
BBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIrCP5HRaKn
TAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL6GOpaPfK
YLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvjf7AP9MpnBFLDHomavCkXzR
aJEaYqYigvHl7W7qWuswi2FgTQEAg7xKIF4THHLZj4f48rwFG7VW2ts8o/SaYpJM
ogWJlwYACgkQUXIrCP5HRaLYzwEAkgkvLX5HB5lhQzy1ZZGTKjVtZdm+pNexqz8W
9tW/tN4BAIhjeT+PeBgrIptk8NHISTm6bcTH4uMzlm8WkabbLRMI
=3KeG
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <NVEQV-9LEg-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <IviXf-7DSx-143@gated-at.bofh.it> <NVqNX-9E1M-1@gated-at.bofh.it> <IviXf-7DSx-143@gated-at.bofh.it> <NVqNX-9E1M-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Simon Josefsson <simon@josefsson.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1069450: 
Date: Wed, 04 Nov 2026 09:50:01 +0100
Message-ID: <NVEQV-9LEg-1@gated-at.bofh.it>
References: <IviXf-7DSx-143@gated-at.bofh.it> <NVqNX-9E1M-1@gated-at.bofh.it> <IviXf-7DSx-143@gated-at.bofh.it> <NVqNX-9E1M-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov  4 08:43:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.65
Reply-To: Simon Josefsson <simon@josefsson.org>, 1069450@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-sssd-devel@alioth-lists.debian.net
X-Debian-Pr-Message: followup 1069450
X-Debian-Pr-Package: src:socket-wrapper
X-Debian-Pr-Keywords: ftbfs trixie
X-Debian-Pr-Source: socket-wrapper
Openpgp: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE;
 url=https://josefsson.org/key-20190320.txt
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000569
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 117
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1069450@bugs.debian.org
X-Original-Date: Wed, 04 Nov 2026 09:41:52 +0100
X-Original-Message-ID: <875wydkmy7.fsf@josefsson.org>
X-Original-References: <ZiO_0odrAnzv1STQ@grub.nussbaum.fr> <CAMr=8w6ssXPr8xvnbdi5W7Uqtstq0bFxUnRKNfBNtHMrvCU7rg@mail.gmail.com> <ZiO_0odrAnzv1STQ@grub.nussbaum.fr> <CAMr=8w6ssXPr8xvnbdi5W7Uqtstq0bFxUnRKNfBNtHMrvCU7rg@mail.gmail.com>