[Bug 768772] New: Multiple bugs in tomcat init script
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c0 Summary: Multiple bugs in tomcat init script Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: archie@dellroad.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0 The tomcat init script in /etc/init.d/tomcat6 has multiple bugs. Probably simplest to show you the patch that fixes them: --- /etc/init.d/tomcat6 2012-02-15 20:45:21.000000000 -0600 +++ tomcat6 2012-06-25 17:02:52.000000000 -0500 @@ -27,7 +27,7 @@ ### END INIT INFO # set a minimalist PATH -PATH="/bin:/sbin" +PATH="/bin:/sbin:/usr/bin:/usr/sbin" # Source LSB function library. if [ -r /lib/lsb/init-functions ]; then @@ -312,10 +312,10 @@ if [ "${CLEAR_WORK}" = "true" ]; then echo -n "Cleaning work directory: " #rm -rf ${CATALINA_HOME}/work/* - find ${CATALINA_HOME}/work/ -maxdepth 1 -type 'd' \! -name 'Catalina' \! -name 'temp' -print0 | xargs -0 rm -rf - find ${CATALINA_HOME}/work/Catalina/ ${CATALINA_HOME}/work/temp/ -print0 | xargs -0 rm -rf + #find ${CATALINA_HOME}/work/ -maxdepth 1 -type 'd' \! -name 'Catalina' \! -name 'temp' -print0 | xargs -0 rm -rf + find ${CATALINA_HOME}/work/Catalina/ ${CATALINA_HOME}/work/temp/ -mindepth 2 -type d | xargs -0 rm -rf if [ "$?" -eq "0" ]; then - echo_success + log_success_msg echo -n -e "\n" fi fi @@ -356,7 +356,7 @@ ## do this on signal 1 (SIGHUP). ## If it does not support it, restart. - echo -n "Reload service Tomcat $($CATALINA_BASE)" + echo -n "Reload service Tomcat ($CATALINA_BASE)" ## if it supports it: #killproc -HUP $TOMCAT_BIN #touch /var/run/FOO.pid The only non-trivial fix in this patch is in how we do the cleanup when CLEAR_WORK is set. Email me with any questions. Reproducible: Always Steps to Reproduce: 1. Install tomcat. 2. Notice that /etc/init.d/tomcat has bugs. 3. In particular, CLEAR_WORK="true" is broken -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c1 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Michal Vyskocil <mvyskocil@suse.com> 2013-07-26 13:08:49 UTC --- fixed with bnc#822177 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-26 16:00:09 CEST --- This is an autogenerated message for OBS integration: This bug (768772) was mentioned in https://build.opensuse.org/request/show/184435 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |obs:running:1890:moderate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-30 16:00:11 CEST --- This is an autogenerated message for OBS integration: This bug (768772) was mentioned in https://build.opensuse.org/request/show/184951 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:1890:moderate |obs:running:1890:moderate | |maint:running:53781:moderat | |e -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2013-08-07 08:04:47 UTC --- openSUSE-SU-2013:1307-1: An update that solves three vulnerabilities and has two fixes is now available. Category: security (moderate) Bug References: 768772,804992,822177,831117,831119 CVE References: CVE-2013-1976,CVE-2013-2067,CVE-2013-3544 Sources used: openSUSE 12.2 (src): tomcat-7.0.27-2.19.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c8 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:1890:moderate |obs:running:1890:moderate |maint:running:53781:moderat |maint:running:53781:moderat |e |e | |maint:released:sle11-sp2:53 | |857 --- Comment #8 from Swamp Workflow Management <swamp@suse.de> 2013-08-22 22:15:04 UTC --- Update released for: tomcat6, tomcat6-admin-webapps, tomcat6-docs-webapp, tomcat6-javadoc, tomcat6-jsp-2_1-api, tomcat6-lib, tomcat6-servlet-2_5-api, tomcat6-webapps Products: SLE-SERVER 11-SP2 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP2 (i386, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c9 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:1890:moderate |obs:running:1890:moderate |maint:running:53781:moderat |maint:running:53781:moderat |e |e |maint:released:sle11-sp2:53 |maint:released:sle11-sp3:53 |857 |858 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> 2013-08-22 22:20:45 UTC --- Update released for: tomcat6, tomcat6-admin-webapps, tomcat6-docs-webapp, tomcat6-javadoc, tomcat6-jsp-2_1-api, tomcat6-lib, tomcat6-servlet-2_5-api, tomcat6-webapps Products: SLE-SERVER 11-SP3 (i386, ia64, ppc64, s390x, x86_64) SLES4VMWARE 11-SP3 (i386, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c10 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:1890:moderate |obs:running:1890:moderate |maint:running:53781:moderat |maint:running:53781:moderat |e |e |maint:released:sle11-sp3:53 |maint:released:sle11-sp3:53 |858 |858 | |maint:released:sle11-sp1:53 | |856 --- Comment #10 from Swamp Workflow Management <swamp@suse.de> 2013-08-22 22:46:16 UTC --- Update released for: tomcat6, tomcat6-admin-webapps, tomcat6-docs-webapp, tomcat6-javadoc, tomcat6-jsp-2_1-api, tomcat6-lib, tomcat6-servlet-2_5-api, tomcat6-webapps Products: SLE-SERVER 11-SP1-TERADATA (x86_64) SUSE-MANAGER 1.2 (x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:1890:moderate |obs:running:1890:moderate |maint:running:53781:moderat |maint:released:sle11-sp3:53 |e |858 |maint:released:sle11-sp3:53 |maint:released:sle11-sp1:53 |858 |856 |maint:released:sle11-sp1:53 | |856 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768772 https://bugzilla.novell.com/show_bug.cgi?id=768772#c11 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> 2013-09-08 16:04:46 UTC --- openSUSE-SU-2013:1411-1: An update that solves three vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 768772,822177,831117,831119 CVE References: CVE-2012-3544,CVE-2013-1976,CVE-2013-2067 Sources used: openSUSE 11.4 (src): tomcat6-6.0.32-42.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=768772 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:1890:moderate |maint:released:sle11-sp3:53 |maint:released:sle11-sp3:53 |858 |858 |maint:released:sle11-sp1:53 |maint:released:sle11-sp1:53 |856 |856 | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com