Bug 1447878 - [GSS](6.4.z) On /etc/rc.d/init.d/jbossas-domain and standalone inconsistent use of >> and > to write to console.log
Summary: [GSS](6.4.z) On /etc/rc.d/init.d/jbossas-domain and standalone inconsistent u...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands, RPMs
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.16
Assignee: jboss-set
QA Contact: Marek Kopecky
URL:
Whiteboard:
Depends On:
Blocks: eap6416-payload
TreeView+ depends on / blocked
 
Reported: 2017-05-04 06:39 UTC by tmiyargi
Modified: 2020-08-13 09:09 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-06-22 09:24:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description tmiyargi 2017-05-04 06:39:24 UTC
Description of problem:

Used >> first part of condition and > in the else
if [ -z "$SUBIT" ]; then
        eval $CMD_START >>${JBOSS_CONSOLE_LOG} 2>&1 &
    else
        $SUBIT "export JAVA_HOME=$JAVA_HOME; export JAVA_OPTS=\"$JAVA_OPTS\"; export JBOSS_MODULEPATH=$JBOSS_MODULEPATH; $CMD_START>${JBOSS_CONSOLE_LOG} 2>&1 &"
    fi
Using > causes problems when rotating logs since the cursor is not reset.

Comment 8 Ivo Hradek 2017-06-15 07:04:25 UTC
Fixed for both:
 - jbossas-domain-7.5.16-*.rpm,
 - jbossas-standalone-7.5.16-*.rpm.
Hence, verified for EAP-6.4.16-CP.CR1, thank you.

Comment 9 Petr Penicka 2017-06-22 09:24:31 UTC
Released on June 20 2017 as part of the EAP 6.4.16 maintenance release.


Note You need to log in before you can comment on or make changes to this bug.