Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2016 13:42:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209454] www/tomcat6: rc-script status/stop fail if pid has less than 5 digits
Message-ID:  <bug-209454-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209454

            Bug ID: 209454
           Summary: www/tomcat6: rc-script status/stop fail if pid has
                    less than 5 digits
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: wolfgang@lyxys.ka.sub.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)
          Assignee: ale@FreeBSD.org

Created attachment 170212
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170212&action=
=3Dedit
patch the rc-script template to ignore whitespace in front of pid output

The tomcat_check_pidfile subroutine in /usr/local/etc/rc.d/tomcat6 fails to
find a running tomcat process if the procstat output begins with whitespace=
 in
front of the pid, resulting in "status" not seeing the process and "stop"
failing to stop it.
The attached patch fixes the problem for me.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209454-13>