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

"Fix Permissions" gives wrong ownership to /var/lib/influxdb #1781

Closed
jhazan-jpg opened this issue Jun 11, 2023 · 1 comment
Closed

"Fix Permissions" gives wrong ownership to /var/lib/influxdb #1781

jhazan-jpg opened this issue Jun 11, 2023 · 1 comment

Comments

@jhazan-jpg
Copy link

The Fix Permissions feature changes the ownership of /var/lib/influxdb to root:root. The correct permissions are influxdb:influxdb.

The result of the permissions being set incorrectly is that the influxdb service is unable to start as it cannot create /var/lib/influxd.pid

if ! cond_redirect fix_permissions /opt/zram/influxdb.bind root:root 664 775; then echo "FAILED (InfluxDB storage on zram)"; retval=1; fi

@mstormi
Copy link
Contributor

mstormi commented Jun 11, 2023

Fixed-by: c471f03

@mstormi mstormi closed this as completed Jun 11, 2023
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

2 participants