🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.java
Article #78

Bug#1143583: PU #1146376: libtcnative for tomcat11

#78
From: Santiago Ruano Rincón
Date: Sat, 28 Nov 2026 20:10
70 lines
4955 bytes
--xNR3RzW63iz+E1+d
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

El 27/11/26 a las 23:33, Moritz M=FChlenhoff escribi=F3:
> Am Sun, Nov 22, 2026 at 02:13:33PM +0100 schrieb Bastien Roucaries:
> > control: tags 1146376 + security
> >=20
> > Dear security team,
> >=20
> > This PU is in fact a security blocker. It block tomcat11/10/9 to be fix=
ed
>=20
> We need some context, why is that the case? If this is strictly
> needed, do we need to upgrade tcnative in lockstep with the new
> Tomcat?
>=20
> If not, we can also first release tcnative via trixie-security
> and then follow up with Tomcat.

Trying to describe what Bastien meant: tomcat11 (and older versions) are
full-version backpoerted from unstable ton {old,}stable-security. E.g.:
https://tracker.debian.org/news/1761206/accepted-tomcat11-11022-1deb13u1-so=
urce-into-stable-security/.
Since 11.0.22-2, tomcat11 Build-Depends / Recommends libtcnative-2
instead of the replaced libtcnative-1:
https://salsa.debian.org/java-team/tomcat11/-/commit/2c87dcbcbd3623191256de=
d26a101d37aeefdaf0

Recent versions of tomcat{11,10,9,...} bumped the tcnative version
dependency.  Trixie currently ships 1.3.1-1, which is not supported by
any of the different tomcat versions.  tomcat complains, with a SEVERE
error, when trying to load 1.3.1. See e.g:
- https://bugs.debian.org/1038204#19 (for tomcat10, but also valid for
  tomcat11)
tomcat still runs, but in a "degraded" mode since it doesn't use the
native functions provided by tcnative.

My first proposal was to upload trixie's tomcat-native to 1.3.8 (the
1.3.9), which is still supported by tomcat, but upstream will EOL it at
the end of March. The recommended version is tomcat-native 2.x anyway,
so it makes more sense to bump the dependency directly to 2.x.

I do agree that the ideal case is to have tomcat-native 2.x in stable,
so tomcat11 (and older) can update their Build-Dep / Recommends, and
actually use the tomcat native library.  The alternative is to backport
tomcat still Build-Depending / Recommending libtcnative-1, but that
means not using the native library.

Please, let me know if more details are welcome.

Have a nice weekend,

 -- Santiago

--xNR3RzW63iz+E1+d
Content-Type: application/pgp-signature; name=signature.asc

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

iHUEABYKAB0WIQR+lHTq7mkJOyB6t2Un3j1FEEiG7wUCawszBwAKCRAn3j1FEEiG
7xyXAP97o9EuVno7Ak2YbtxEMegK03sijHhMyCVMK7LAuuHc2wD/Th8hed0NTOgv
rLt48/Z3EwaS+Wcl9x3ngXLf7+DF6AA=
=2rZM
-----END PGP SIGNATURE-----

--xNR3RzW63iz+E1+d--
Technical Details
Message-ID: <O4wU9-eJDQ-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NYhXP-bf6w-5@gated-at.bofh.it> <NYW4V-bBCa-7@gated-at.bofh.it> <O2fE5-dtyq-1@gated-at.bofh.it> <O4cLL-eyuq-3@gated-at.bofh.it> <GHhZT-giYO-3@gated-at.bofh.it> <O4cLL-eyuq-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Ruano Rincón <santiagorr@riseup.net>
Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java
Subject: Bug#1143583: PU #1146376:  libtcnative for tomcat11
Date: Sat, 28 Nov 2026 21:10:01 +0100
Message-ID: <O4wU9-eJDQ-5@gated-at.bofh.it>
References: <NYhXP-bf6w-5@gated-at.bofh.it> <NYW4V-bBCa-7@gated-at.bofh.it> <O2fE5-dtyq-1@gated-at.bofh.it> <O4cLL-eyuq-3@gated-at.bofh.it> <GHhZT-giYO-3@gated-at.bofh.it> <O4cLL-eyuq-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Nov 28 20:02:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Santiago Ruano Rincón <santiagorr@riseup.net>, 1143583@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-java-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1143583
X-Debian-Pr-Package: tomcat11
X-Debian-Pr-Source: tomcat11
X-Riseup-User-ID: 776F91C5F298FDB571DA65224D3112A9852C5029B8CBEAE547CE3AEA6C728440
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="xNR3RzW63iz+E1+d"
Content-Disposition: inline
X-Crossassassin-Score: 2
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005676
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 70
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Bastien Roucaries <rouca@debian.org>, security@debian.org,
	1143583@bugs.debian.org, 1146376@bugs.debian.org,
	debian-java@lists.debian.org
X-Original-Date: Sat, 28 Nov 2026 17:01:15 -0300
X-Original-Message-ID: <awszBgpaKX-6_eLK@voleno>
X-Original-References: <XB5RtIkNSBSrcY3jZ4vrDA@debian.org> <avbaylh8CcQl8w6I@voleno> <QF2-fbFcS8SuHYTqfiIt1w@debian.org> <awoFUlpeAuYrPvli@pisco.westfalen.local> <168692264381.15535.3560148424678311915.reportbug@infoot.inov.pt> <awoFUlpeAuYrPvli@pisco.westfalen.local>