OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000190 [jetty] packaging major have not tried 2003-11-26 15:00 2004-01-21 02:45
Reporter mjensen View Status public  
Assigned To james
Priority normal Resolution fixed  
Status closed  
Summary 0000190: asked for path to java executable during full auto install
Description During a full auto install, the package asked for the path to the java executable - output follows:

jetty - java web server, JSP and Servlet container
(all) 4.2.12

...

Checking Java version.
Jetty requires Java version >= 1.4.
Can\'t open /opt/csw/jetty/etc/jettyrc

The commands shown below will be checked by running.
Please ensure the commands do nothing bad!

Give path to java executable (/usr/bin/java) [?,q]
/tmp/installUaaGLC/checkinstallXaaGLC: -version: not found
ckpath: option requires an argument -- d
usage: ckpath [options] [-[a|l][b|c|f|y][n|[o|z]]rtwx]
        -a #absolute path
        -b #block special device
        -c #character special device
        -f #ordinary file
        -l #relative path
        -n #must not exist (new)
        -o #must exist (old)
        -r #read permission
        -t #permission to create (touch)
        -w #write permission
        -x #execute permisiion
        -y #directory
        -z #non-zero length
where options may include:
        -Q #quit not allowed
        -W width
        -d default
        -e error
        -h help
        -k pid [-s signo]
        -p prompt

The lines starting from /tmp/install... down to -pr prompt were then repeated forever until the disk filled up.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000218)
mjensen (reporter)
2003-11-26 15:16

I probably should note that stdin was redirected from /dev/null so any read would immediately return EOF
(0000222)
james (manager)
2003-11-27 02:42

Acknowledged. As a minumum it should abort after failure and move on - certainly not fail and fill the disc. The default answer to the \"try again\" question should be \"n\" to prevent looping, then an auto procedure can at least finish the install.

The error from ckpath is on the second loop after ckpath has set the value of JAVA to empty to due to the EOF.

I\'ll mock up the above conditions and some fixes. Leave it with me, solution soon...

(Note: It doesn\'t matter for the install that Java isn\'t found, it just means Jetty will fail to start.)
(0000233)
james (manager)
2003-12-02 06:42

New package for Jetty 4.2.14 is being released which will fix this issue.

It will be release in the next day but to preview for test find the new package here:

www.blastwave.org/~james/jetty-4.2.14-SunOS5.8-all-CSW.pkg.gz

(When this reaches the mirrors I will remove from the above URL.)


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker