Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Emmanuel Bourg Newsgroups: linux.debian.maint.java Subject: Re: Tomcat 10 packaging Date: Fri, 30 Sep 2022 12:00:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Fri Sep 30 09:53:25 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-15.667 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-3.766, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 Authentication-Results: apache.org; auth=none MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/23092 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/d6af398d-aef2-24db-ff3f-33752a8f9e7a@apache.org Approved: robomod@news.nic.it Lines: 60 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 30 Sep 2022 11:53:01 +0200 X-Original-Message-ID: X-Original-References: <2ec106f2-3007-4b56-7727-ab009eef4756@apache.org> <6d6ef98f1e6b0703c066ca6cfe8fa5f9f08b7cb3.camel@debian.org> Xref: csiph.com linux.debian.maint.java:12452 Le 29/09/2022 à 15:06, Markus Koschany a écrit : > While less packaging work is always a plus, I don't mind copy and pasting the > existing debian sources. Also the wait in the NEW queue is rather negligible if > the upload is done way ahead of the stable freeze as it was done with Tomcat 10. I agree, it's nice to ease the packaging work, but the deciding factor should be the user experience. Currently, upgrading Tomcat in Debian consist in: - install tomcat - move the content of /var/lib/tomcat to /var/lib/tomcat (especially the lib directory containing the JDBC drivers) - move the log files from /var/log/tomcat to /var/log/tomcat - copy and adapt the configuration files from /etc/tomcat to /etc/tomcat - uninstall tomcat A unique package would reduce this procedure to the configuration update step. The same result could be achieved by having versioned packages conflicting with each other. For example tomcat10 would use versionless paths (/etc/tomcat, /var/lib/tomcat, /var/log/tomcat), and installing tomcat11 would trigger the removal of tomcat10, while reusing the same paths. On the packaging side, we could mimic the openjdk package and generate the versioned packaging files automatically. > There are often breaking changes between major Tomcat versions and users > can't expect that their applications will seamlessly work when they upgrade > their tomcat packages to newer major releases. So this is a point where I find > two tomcat packages in unstable or at least experimental very useful. You also > have to keep in mind that Ubuntu and other distributions just copy the package > and release more frequently. With a versionless tomcat package it could easily > happen that there are major regressions in between two Debian stable releases > which would directly hit Ubuntu and co users because they release more often. > While we would fix those bugs in unstable eventually, other users had to deal > with those issues in a stable release. A sudden and automatic upgrade from 9.x > to 10.x may be surprising for them. It's interesting to consider the Debian derivatives side. For Ubuntu I don't think this will change the situation that much. They already apply their own security fixes anyway since their stable Tomcat versions aren't aligned with ours. And major updates in Debian won't trigger a major update in the stable Ubuntu releases. > At the moment I would play it safe for Debian 12 and go with src:tomcat10. > However we could think about introducing a libtomcat-default-java package which > always points to the latest major Tomcat version in Debian. Thus we could avoid > updating our r-deps for every new release, similar how we deal with the JDK. The default libtomcat-java package is a good idea. Thank you for sharing your thoughts! Emmanuel Bourg