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
Conversation
There was a problem hiding this 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.
I have removed the user tag because for doing a |
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' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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