-
Notifications
You must be signed in to change notification settings - Fork 530
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
Update deb and rpm packages to create and assign permissions for /var/tempo #3657
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.
One comment, but looks good to me.
this should REALLY be fixed in the docker distribution too! |
@Enrice I'm not sure what you mean. Are you encountering an issue? |
My issue is that I would need to apply the workaround depicted in #3601 which I cannot do at the moment. |
If you'd like to give us more information about your environment, we can help you work through the issue. Consider joining the community slack. I'm zleslie in there and would be happy to take a look. |
What this PR does:
The motivation for this PR is to fix the deb and rpm Drone test process, but we decided it's also a good improvement that should be shipped in the packages.
The deb and rpm packages install Tempo as a systemd service, under a newly-created user
tempo
. However the services can't start out of the box because thetempo
user lacks permissions to create and write to/var/tempo
which is the default storage path. This updates the post install process to create and assign perms to/var/tempo
. Unfortunately we couldn't pin down when this became a problem or what changed.Note A tricky bit is that Drone only runs for tags and PRs of branches in the Tempo repo itself. If you PR is from a fork, it doesn't run. This made the failures go unnoticed for some time as most PRs are from forks.
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]