[Bug 1666570] Re: Post install script has error in RegEx

2021-07-13 Thread Paride Legovini
** Changed in: tomcat7 (Ubuntu Xenial) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage

[Bug 1666570] Re: Post install script has error in RegEx

2021-01-08 Thread Joshua Powers
** Changed in: tomcat7 (Ubuntu Trusty) Assignee: Joshua Powers (powersj) => (unassigned) ** Changed in: tomcat8 (Ubuntu Zesty) Assignee: Joshua Powers (powersj) => (unassigned) ** Changed in: tomcat8 (Ubuntu Xenial) Assignee: Joshua Powers (powersj) => (unassigned) ** Changed in:

[Bug 1666570] Re: Post install script has error in RegEx

2018-12-03 Thread Per Lundberg
One way to work around this until the package gets fixed in xenial is to escape the % sign in the JAVA_OPTS string: JAVA_OPTS="${JAVA_OPTS} -Xloggc:/var/log/tomcat7/gc-\%t.log" This has been tested and seems to make both the postinst script work, as well as make the JVM include the timestamp in

[Bug 1666570] Re: Post install script has error in RegEx

2018-12-02 Thread Sebastian
This bug causes tomcat7 postinst to fail if GC logging with rotation is enabled in /etc/default/tomcat7, e.g. like this: JAVA_OPTS="${JAVA_OPTS} -Xloggc:/var/log/tomcat7/gc-%t.log" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1666570] Re: Post install script has error in RegEx

2018-11-29 Thread Per Lundberg
Note: as implied by Mathew Hodson, the tomcat7 package for Xenial has _not_ yet been updated (because the package failed to build.) (We started seeing this bug appearing on some servers after upgrading to tomcat7, so I can personally verify that it's still present with 7.0.68-1ubuntu0.4.) It

[Bug 1666570] Re: Post install script has error in RegEx

2018-11-27 Thread Bug Watch Updater
** Changed in: tomcat7 (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications about

[Bug 1666570] Re: Post install script has error in RegEx

2017-08-17 Thread Mathew Hodson
** No longer affects: tomcat7 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications about this bug go to:

[Bug 1666570] Re: Post install script has error in RegEx

2017-08-17 Thread Joshua Powers
Removing verification-needed, as all verification is complete on this bug. Working on LP: #1664179 next. ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570

[Bug 1666570] Re: Post install script has error in RegEx

2017-08-17 Thread Joshua Powers
Marking yakkety as won't fix due to EOL status. ** Changed in: tomcat7 (Ubuntu Yakkety) Status: Triaged => Won't Fix ** Changed in: tomcat7 (Ubuntu Yakkety) Assignee: Joshua Powers (powersj) => (unassigned) -- You received this bug notification because you are a member of Ubuntu

[Bug 1666570] Re: Post install script has error in RegEx

2017-06-22 Thread Mathew Hodson
tomcat7 on Xenial and Yakkety failed to build. ** Changed in: tomcat7 (Ubuntu Xenial) Status: Fix Committed => Triaged ** Changed in: tomcat7 (Ubuntu Yakkety) Status: Fix Committed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1666570] Re: Post install script has error in RegEx

2017-06-19 Thread Launchpad Bug Tracker
This bug was fixed in the package tomcat8 - 8.0.37-1ubuntu0.2 --- tomcat8 (8.0.37-1ubuntu0.2) yakkety; urgency=medium * Fix an upgrade error when JAVA_OPTS in /etc/default/tomcat8 contains the '%' character (LP: #1666570). -- Joshua Powers Tue, 28

[Bug 1666570] Re: Post install script has error in RegEx

2017-06-16 Thread Mathew Hodson
** No longer affects: tomcat7 (Ubuntu Zesty) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications about this bug go to:

[Bug 1666570] Re: Post install script has error in RegEx

2017-06-16 Thread Joshua Powers
Sorry, hit post too soon... Tomcat8 in yakkety proposed (8.0.37-1ubuntu0.2) verified per instructions under test case. ** Tags added: verification-done-yakkety -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1666570] Re: Post install script has error in RegEx

2017-06-16 Thread Joshua Powers
Tomcat8 in proposed (8.0.37-1ubuntu0.2) verified per instructions under test case. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage

[Bug 1666570] Re: Post install script has error in RegEx

2017-06-16 Thread Marc Deslauriers
Could someone please test the tomcat8 yakkety package so I can follow it with a security update? Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error

[Bug 1666570] Re: Post install script has error in RegEx

2017-05-29 Thread Bug Watch Updater
** Changed in: tomcat8 (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications

[Bug 1666570] Re: Post install script has error in RegEx

2017-05-29 Thread Mathew Hodson
** Bug watch added: Debian Bug tracker #770911 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770911 ** Also affects: tomcat8 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770911 Importance: Unknown Status: Unknown -- You received this bug notification because

[Bug 1666570] Re: Post install script has error in RegEx

2017-05-25 Thread Launchpad Bug Tracker
This bug was fixed in the package tomcat8 - 8.0.32-1ubuntu1.4 --- tomcat8 (8.0.32-1ubuntu1.4) xenial; urgency=medium * Fix an upgrade error when JAVA_OPTS in /etc/default/tomcat8 contains the '%' character (LP: #1666570). -- Joshua Powers Thu, 09

[Bug 1666570] Re: Post install script has error in RegEx

2017-05-18 Thread Andy Wagner
Tested and verified tomcat7 7.0.52-1ubuntu0.11 and tomcat8 8.0.32-1ubuntu1.4 on Trusty and Xenial. ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570

[Bug 1666570] Re: Post install script has error in RegEx

2017-05-11 Thread Brian Murray
Well, clicking rebuild didn't fix anything - sorry! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications about this bug go

[Bug 1666570] Re: Post install script has error in RegEx

2017-05-11 Thread Brian Murray
I've clicked the rebuild button on Launchpad for tomcat7 for yakkety and xenial to see if it was a temporary failure. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-24 Thread Launchpad Bug Tracker
This bug was fixed in the package tomcat7 - 7.0.52-1ubuntu0.11 --- tomcat7 (7.0.52-1ubuntu0.11) trusty; urgency=medium * Fix an upgrade error when JAVA_OPTS in /etc/default/tomcat7 contains the '%' character (LP: #1666570). * Fix javax.servlet.jsp POM to use servlet-api

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-19 Thread Joshua Powers
@sru-team Verified tomcat7 trusty (7.0.52-1ubuntu0.11) based on the test case described in the SRU template. The update to the proposed version completed without error. Marking as verification-done-trusty. I will do Xenial and Yakkety once I have binaries. ** Tags added:

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-19 Thread Joshua Powers
@racb, It looks like the uploads to Xenial and Yakkety did not produce binaries. Looking at the logs the builds failed on tests. I uploaded the current released version in xenial to a ppa and it also failed. What are my next steps? -- You received this bug notification because you are a member

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-19 Thread Joshua Powers
** Description changed: == Begin SRU Template == [Impact]  * On upgrade of tomcat7 package, if a user has updated their JAVA_OPTS variable to include a '%' an upgrade will fail. The sed command in the postinst uses the '%' character to act as a delimiter, previous versions used '/'

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-13 Thread Robie Basak
I think everything is in -proposed or in the unapproved queues pending SRU review now, so unsubscribing ~ubuntu-sponsors (I forgot to do this when I uploaded). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-10 Thread Launchpad Bug Tracker
This bug was fixed in the package tomcat8 - 8.0.38-2ubuntu2 --- tomcat8 (8.0.38-2ubuntu2) zesty; urgency=medium * Fix an upgrade error when JAVA_OPTS in /etc/default/tomcat8 contains the '%' character (LP: #1666570). -- Joshua Powers Tue, 28 Mar

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-10 Thread Robie Basak
I've reviewed and uploaded Josh's MPs for tomcat8. Since there are three and some review comments are shared, I'm writing them up here to avoid confusion between the multiple MPs. For all three, I had to s/tomcat7/tomcat8/ in the conffile pathname, as this has switched in tomcat8. For Zesty, I

[Bug 1666570] Re: Post install script has error in RegEx

2017-04-05 Thread Brian Murray
Hello Andy, or anyone else affected, Accepted tomcat7 into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tomcat7/7.0.72-1ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-31 Thread Mathew Hodson
** Bug watch removed: Debian Bug tracker #597814 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597814 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-09 Thread Joshua Powers
** Description changed: == Begin SRU Template == - [Impact] + [Impact] - * On upgrade of tomcat7 package, if a user has updated their JAVA_OPTS variable to include a '%' an upgrade will fail. The sed command in the postinst uses the '%' character to act as a delimiter, previous versions

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-09 Thread Joshua Powers
@Andy I have committed fixes for all changes to our importer. They will be reviewed and accepted, unless I need to make any changes :) Once accepted, the new packages will enter the proposed pocket for final testing and acceptance and after a minimum of 7 days released. I believe I have that

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-09 Thread Joshua Powers
Only source package, binary is not present in zesty ** Also affects: tomcat8 (Ubuntu) Importance: Undecided Status: New ** No longer affects: tomcat8 (Ubuntu Trusty) ** Patch removed: "debdiff for trusty"

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-09 Thread Nish Aravamudan
** Also affects: tomcat7 (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: tomcat7 (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: tomcat7 (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: tomcat7 (Ubuntu Zesty)

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-08 Thread Ubuntu Foundations Team Bug Bot
The attachment "debdiff for trusty" seems to be a debdiff. The ubuntu- sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-08 Thread Joshua Powers
Created PPA with fix for Trusty here: https://launchpad.net/~powersj/+archive/ubuntu/tomcat7-1666570 Attaching debdiff for trusty. ** Description changed: - Ubuntu 14.04.5 LTS - Tomcat7 7.0.52-1ubuntu0.10 + == Begin SRU Template == + [Impact] - Expected Result - === + * On

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-07 Thread Andy Wagner
That is an elegant solution, thanks for staying on top of this! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications about

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-07 Thread Joshua Powers
This is how upstream has fixed this: https://anonscm.debian.org/cgit/pkg-java/tomcat8.git/commit/?id=7664221 Let me see about getting an SRU to trusty now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-04 Thread Bug Watch Updater
** Changed in: tomcat7 (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications about this

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-02 Thread Joshua Powers
Thanks for the ping. I've filed the bug with Debian. I'd like to first see what they think of my solution and then can get this SRU'ed back to Trusty. ** Bug watch added: Debian Bug tracker #856602 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856602 ** Also affects: tomcat7 (Debian) via

[Bug 1666570] Re: Post install script has error in RegEx

2017-03-02 Thread Andy Wagner
Let me know if there is anything further I can do to move this forward. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1666570 Title: Post install script has error in RegEx To manage notifications

[Bug 1666570] Re: Post install script has error in RegEx

2017-02-22 Thread Andy Wagner
You are indeed correct, the culprit is a `%` in the java options of our affected servers, one example being: JAVA_OPTS="-Djava.awt.headless=true -XX:ErrorFile=/var/log/tomcat7/java_error%p.log -Xms15025m -Xmx15025m -XX:+DisableExplicitGC -XX:+UseG1GC -XX:+UseStringDeduplication" And for

[Bug 1666570] Re: Post install script has error in RegEx

2017-02-22 Thread Joshua Powers
Can you get the output of the following: $ cat /etc/default/tomcat7 | grep -i java_opts $ debconf-show tomcat7 ** Changed in: tomcat7 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1666570] Re: Post install script has error in RegEx

2017-02-22 Thread Joshua Powers
Thank you for taking the time to file a bug report and try to solve it! Looking at your proposed resolution if we were to escape the $ then it would replace %JAVA_OPTS with $JAVA_OPTS, however I do not believe that is what we want. The goal of this line is to set the JAVA_OPTS based on the