ports/86032: Bug in RCng stratup script ${PREFIX}/etc/rc.d/jakarta-tomcat55.sh

Julio C. Perera R. jcperera at azul.gl
Mon Sep 12 22:10:04 UTC 2005


>Number:         86032
>Category:       ports
>Synopsis:       Bug in RCng stratup script  ${PREFIX}/etc/rc.d/jakarta-tomcat55.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 12 22:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Julio C. Perera R.
>Release:        5.4
>Organization:
Azul Ltda.
>Environment:
FreeBSD desdemona.azul.gl.local 5.4-STABLE FreeBSD 5.4-STABLE #1: Sat Aug 20 12:40:37 CLT 2005     root at desdemona.azul.gl.local:/.amd_mnt/hades/host/usr/src/sys/i386/compile/DESDEMONA  i386
>Description:
Call to: load_rc_config "${name}" is made almost at the end of the file, so custom variables especified in /etc/rc.conf have no effect on most of the script.
>How-To-Repeat:
Add any custom variable for tomcat55 to your /etc/rc.conf, ex.: jakarta_tomcat55_java_opts="-Xms128m -Xmx128m -Djava.awt.headless=true"
Go and check it doesn't have any effect on the call to JVM
>Fix:
Simply move the line saying: load_rc_config "${name}"
above the variables processing directives, a good place is after the line saying: rcvar=`set_rcvar`
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list