-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Prometheus <-> Prometheus Packet service discovery flaky #329
Comments
I don't see a hardening option enabled that should prevent access. Nothing of the following worked:
But I think it must be related to the runtime environment, since Then I noticed that some processes seem to be able to read the file, and some don't.
Very confusing. |
Tracked it down to packethost/prometheus-packet-sd#15 |
Renaming this bug to indicate this is less critical than I originally thought - this probably ends up making Prometheus miss some updates, but it's only a race condition that doesn't always get hit. |
Tried updating to the patched version, but now it chmods to 0600. I'm confused. |
The chmod is applied to the outfile, not the tempfile. Ouch. |
Likely due to systemd hardening blocking filesystem access, since the file is world-readable (and in fact: world-writable?!?!)
The text was updated successfully, but these errors were encountered: