Project

General

Profile

Actions

Bug #6937

closed

/etc/init.d/rudder-jetty prints error with openjdk on debian/sid

Added by Remi Debay over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
3
Assignee:
-
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #6765: Rudder-jetty init script fails to get openjdk versionReleasedAlexis Mousset2015-06-17Actions
Actions #1

Updated by Vincent MEMBRÉ over 9 years ago

Thank you for reporting Rémi!

On which OS do you have this issue ?

Actions #2

Updated by Vincent MEMBRÉ over 9 years ago

Ok debian sid ;)

Actions #3

Updated by Vincent MEMBRÉ over 9 years ago

  • Priority changed from N/A to 3
  • Target version set to 3.0.8
Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Related to Bug #6765: Rudder-jetty init script fails to get openjdk version added
Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from New to Rejected

In fact this is already fixed by #6765 and will be release in 3.0.7 version of Rudder ( will be out today/tomorrow)

I'm closing this issue as duplicate of #6765

Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Related to deleted (Bug #6765: Rudder-jetty init script fails to get openjdk version)
Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Is duplicate of Bug #6765: Rudder-jetty init script fails to get openjdk version added
Actions

Also available in: Atom PDF