Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1426647

Summary: [GSS](6.4.z) standalone.sh can hang on gc log back up moves
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Aaron Ogburn <aogburn>
Component: Scripts and CommandsAssignee: Aaron Ogburn <aogburn>
Status: CLOSED CURRENTRELEASE QA Contact: Peter Mackay <pmackay>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.13CC: bmaxwell, fnasser, ihradek, msochure, pgier, pkremens, pmackay, rnetuka, tcerar
Target Milestone: CR1   
Target Release: EAP 6.4.15   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/jbossas/jboss-eap/pull/2941
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-19 08:05:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1419353    

Description Aaron Ogburn 2017-02-24 14:26:07 UTC
Description of problem:

If it doesn't have proper write access to an existing backupgc.log, standalone.sh will hang.  The file mv should use the -f flag.


Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. touch $EAP_HOME/standalone/log/backupgc.log.current
2. chmod 444 $EAP_HOME/standalone/log/backupgc.log.current
3. touch $EAP_HOME/standalone/log/gc.log.current
4. ./standalone.sh and note hang

Actual results:

Standalone.sh start hangs


Expected results:

Standalone.sh start does not hang

Additional info:

Comment 2 Ivo Hradek 2017-05-05 10:34:28 UTC
Server starts normally, verified for EAP-6.4.15.CP.CR3;

Comment 3 Petr Penicka 2017-05-19 08:05:30 UTC
Released on May 18 as part of EAP 6.4.15.