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

Small fix: allow the vault process to write in /var/log #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

esantoro
Copy link

Since in the vault:1.4.0 docker image the vault process is executed using the unprivileged vault user (uid 100 / gid 1000) the vault process cannot write its logs in /var/log.

This commit fixes that by running a chmod 777 to `/var/log/ before enabling the audit logs. 777 is a bit too much generours maybe, but for the small scope of the demo is not a big deal.

This commit also introduces a .gitignore file that hides the logs/ directory and temporary files.

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.

1 participant