#9832 IPA compatibility with tomcat 10
Closed: fixed by sumenon. Opened by rcritten.

Issue

The dogtag-pki project is in the process of switching from tomcat 9 to tomcat 10.

tomcat 10 brings with it many changes including the removal of /usr/sbin/tomcat. Scripts are now located in /usr/share/tomcat/bin

IPA makes a single direct call to tomcat to identify its version. The script location is defined in ipaplatform.base.paths in BIN_TOMCAT. Debian already overrides this with /usr/share/tomcat9/bin/version.sh. For tomcat 10 IPA will need to do something similar with the override being /usr/share/tomcat/bin/version.sh

The trick will be to only make this change in releases that currently use tomcat 10. Currently that is only Fedora rawhide/F43 that we know of.


Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-105139
- Issue priority set to: important

I opened a PR for this but it is not a final solution https://github.com/freeipa/freeipa/pull/7882

Something will need to be done since ipa-4-12 is also on other releases. We may want to branch for this change.

Metadata Update from @rcritten:
- Issue assigned to rcritten

master:

  • 12190a254aa0004bf4a85418f01a289e8e82f952 Add path to identify the tomcat version for Tomcat 10

ipa-4-13:

  • b4a0c3cb44adb1c0ae694fdfd32fd63565dabaa4 Add path to identify the tomcat version for Tomcat 10

Metadata Update from @sumenon:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata