Bug #6937
closed/etc/init.d/rudder-jetty prints error with openjdk on debian/sid
Description
Hi
I got the following error on a debian sid:
_root@ks01:~# /etc/init.d/rudder-jetty status
/etc/init.d/rudder-jetty: line 403: [: -lt: unary operator expected
Checking arguments to Jetty:
_
The code says:
_JAVA_VERSION=$(${JAVA} -version 2>&1 | grep "java version" | sed 's%java version \"[0-9]\.\([0-9]\)\.[0-9].*\"%\1%')
echo $JAVA_VERSION
if [ ${JAVA_VERSION} -lt 7 ]
..._
and well, my java installed with rudder-server-root/3.0.6/jetty is openjdk:
$ java -version
openjdk version "1.8.0_60-internal"
OpenJDK Runtime Environment (build 1.8.0_60-internal-b22)
OpenJDK 64-Bit Server VM (build 25.60-b22, mixed mode)
Jetty is running, no more errors than the printed one
Updated by Vincent MEMBRÉ almost 10 years ago
Thank you for reporting Rémi!
On which OS do you have this issue ?
Updated by Vincent MEMBRÉ almost 10 years ago
- Priority changed from N/A to 3
- Target version set to 3.0.8
Updated by Vincent MEMBRÉ almost 10 years ago
- Related to Bug #6765: Rudder-jetty init script fails to get openjdk version added
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from New to Rejected
Updated by Vincent MEMBRÉ almost 10 years ago
- Related to deleted (Bug #6765: Rudder-jetty init script fails to get openjdk version)
Updated by Vincent MEMBRÉ almost 10 years ago
- Is duplicate of Bug #6765: Rudder-jetty init script fails to get openjdk version added