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

www-apps/grafana: Fix pid file permissions #8765

Closed

Conversation

AwesomePatrol
Copy link
Contributor

@AwesomePatrol AwesomePatrol commented Jun 8, 2018

Due to a fact that the service is running as a user named grafana, the
process did not have permissions to create a file in /run. It could be
mitigated by changing permissions of /run or running service as
privileged user or avoiding systemd.
This patch moves pid file to subdirectory and adds RuntimeDirectory
entry to the definition of the service.

Closes: https://bugs.gentoo.org/628328

Package-Manager: Portage-2.3.19, Repoman-2.3.6

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Jun 8, 2018
Due to a fact that the service is running as a user named grafana, the
process did not have permissions to create a file in /run. It could be
mitigated by changing permissions of /run or running service as
privileged user or avoiding systemd.
This patch moves pid file to subdirectory and adds RuntimeDirectory
entry to the definition of the service.

Closes: https://bugs.gentoo.org/628328

Package-Manager: Portage-2.3.19, Repoman-2.3.6
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2018-06-08 20:54 UTC
Newest commit scanned: d13b968
Status: ✅ good

No issues found

@AwesomePatrol AwesomePatrol changed the title www-apps/grafana: Fix pid file permissions www-apps/grafana: Fix pid file permissions [please reassign] Jun 8, 2018
@gentoo-bot gentoo-bot changed the title www-apps/grafana: Fix pid file permissions [please reassign] www-apps/grafana: Fix pid file permissions Jun 8, 2018
@gentoo-bot
Copy link

Pull Request assignment

Areas affected: ebuilds
Packages affected: www-apps/grafana-bin

www-apps/grafana-bin: @ferki, patrick, @gentoo/proxy-maint

Bugs linked: 628328

In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. and removed assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Jun 8, 2018
@monsieurp
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
4 participants