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

Why not default grafana's container user to be root like all the other containers? #106

Open
CMCDragonkai opened this issue Sep 9, 2023 · 0 comments

Comments

@CMCDragonkai
Copy link

I recently had an issue where my default umask on my OS removes other permissions.

Then the default docker mode, meant that the grafana container which is configured to use the grafana user couldn't load the bind mounted ~/.rocketpool/grafana-prometheus-datasource.yml:/etc/grafana/provisioning/datasources/prometheus.yml.

I had to do chmod o+r ~/.rocketpool/grafana-prometheus-datasource.yml so that the grafana container could run.

Given that all the other containers are already using root, I doubt there's much security increase with using a grafana user. Might as well default to root so that it can read the files by default.

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

No branches or pull requests

1 participant