[SRU] tomcat8-instance-create fails to update control port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat8 (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* During Bionic's OpenJDK 11 transition the tomcat8 package was updated to the newest version. As the update was done in bionic-security there were concerns with updating conffiles, which could cause the package to now be updated by unattended-
* Since only Bionic's tomcat8 had the conffiles rolled back, no other release has been affected - ie. Cosmic and later releases shipped with a tomcat8 that already included the conffile changes.
[Test Case]
1. Install tomcat8
$ apt install tomcat8
2. Create a new instance
$ tomcat8-
3. Verify that conf/server.xml has been updated with the right connector (-p argument) and control ports (-c argument)
In the non-patched tomcat8, in step #3, the control ports won't be changed and will still be set to the default setting (8080 and 8005).
[Regression Potential]
* Since this effectively introduces a required rollback so the tomcat8-
[Other Info]
* Affects only Bionic (see Impact for details).
[Original Description]
The parameter -c (controlport) is not used anymore. I tried
tomcat8-
In conf/server.xml the controlport still set to 8005 (default) value.
The reason is located in line 120 of tomcat8-
There is:
sed -i -e "s/Connector port=\"
...and there should be:
sed -i -e "s/Connector port=\"
Thanks a lot and have a nice weekend!
Stefan.
description: | updated |
summary: |
- "-1" instead of "8005" in tomcat8-instance-create + [SRU] tomcat8-instance-create fails to update connector and control + ports |
tags: | added: bionic |
description: | updated |
Changed in tomcat8 (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
summary: |
- [SRU] tomcat8-instance-create fails to update connector and control - ports + [SRU] tomcat8-instance-create fails to update control port |
description: | updated |
Hello Stefan, or anyone else affected,
Accepted tomcat8 into bionic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ tomcat8/ 8.5.39- 1ubuntu1~ 18.04.2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- bionic to verification- done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- bionic. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.