Bug 1042495
| Summary: | CLI changes working directory; making it harder to run scripts | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Lukas Krejci <lkrejci> |
| Component: | CLI | Assignee: | RHQ Project Maintainer <rhq-maint> |
| Status: | CLOSED UPSTREAM | QA Contact: | Mike Foley <mfoley> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.2 | CC: | genman, hrupp, loleary, myarboro, tsegismo |
| Target Milestone: | --- | ||
| Target Release: | JON 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 959603 | Environment: | |
| Last Closed: | 2015-01-05 16:08:46 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: | 959603 | ||
| Bug Blocks: | |||
|
Description
Lukas Krejci
2013-12-12 22:28:09 UTC
We need to decide whether to follow the new behavior of RHQ (i.e. NOT change the current working directory when running CLI) or to keep strict backwards compatibility and do not do it in JBoss ON (a build flag is enough for this as described in the commit message above). We also need to put the new env variables to docs. This was fixed in upstream RHQ 4.10 release. Therefore, the fix was inherited in JBoss ON 3.3. Closing as fixed upstream. Hmm... Just for the record, rhq-cli-env.(sh|bat) contains a switch to restore the original behavior - the RHQ_CLI_CHANGE_DIR_ON_START variable. The default in JON3.3 indeed seems to NOT change directories anymore. |