Added facl to solve permission problems on openshift.#9
Open
mohammedzee1000 wants to merge 2 commits intojboss-dockerfiles:masterfrom
Open
Added facl to solve permission problems on openshift.#9mohammedzee1000 wants to merge 2 commits intojboss-dockerfiles:masterfrom
mohammedzee1000 wants to merge 2 commits intojboss-dockerfiles:masterfrom
Conversation
|
I think we should at least comment somewhere that this will not work with AUFS storage drive as it doesn't support ACL. Also ACLs has to be enabled in kernel and FS mounted with acl options (some do it by default). This is probably OK for big distribution like centos/fedora - but we should test this change on CoreOS and sou probably? |
Contributor
Author
|
I can add a comment to docker file for aufs. How would you recommend testing coreos and sou this? The core issue i found was that the ownership and home directory assignment on /opt/jboss, does not guarantee that all the later files will be created as jboss user, hence the permission issue with keycloak as seen |
Contributor
Author
|
ping @L-D-J |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This solves permission issues for running containers on openshift that use this image as their base, such as the keycloak containers. The fact that it works has been validated as shown below:
keycloak server (https://github.com/jboss-dockerfiles/keycloak/tree/master/server) on openshift origin logs :