Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOUD-2379] Allow override LAUNCH_DIR #211

Merged
merged 1 commit into from Mar 23, 2018

Conversation

ruromero
Copy link
Contributor

@ruromero ruromero commented Mar 14, 2018

Part of the fix for https://issues.jboss.org/browse/RHBA-530
Fixes https://issues.jboss.org/browse/CLOUD-2379
Allows the possibility for non-eap images to decide where to copy the scripts

Copy link
Contributor

@spolti spolti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1
This change will allow other images than eap based images to have the logging module correctly configured.

@ruromero ruromero changed the title [RHBA-530] Allow override LAUNCH_DIR [CLOUD-2379] Allow override LAUNCH_DIR Mar 14, 2018
@ruromero
Copy link
Contributor Author

I have removed the user tag because for doing a chown jboss:root it must be root

Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
@@ -4,4 +4,3 @@ version: '1.0'
description: os-logging script package.
execute:
- script: configure.sh
user: '185'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rcernich because this script must be run as root as it executes chown command

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was doing that before. Is this because LAUNCH_DIR is not owned by jboss user?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rcernich I don't know how come it works for other dependencies but chown jboss:root <file> can't work without root permissions UNLESS the ownership was already jboss:root meaning that nothing was changed

Copy link
Contributor

@errantepiphany errantepiphany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rcernich rcernich merged commit a05ac81 into jboss-openshift:master Mar 23, 2018
@ruromero ruromero deleted the rhba-530 branch March 23, 2018 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants