Commit Graph

8 Commits

Author SHA1 Message Date
Martin Weinelt
5e721403ec
packet-sd: fix chmod application order 2024-02-26 02:45:20 +01:00
Martin Weinelt
a9e9cb8cc6
packet-sd: backport outfile racyness/permission bugfix
The packet-sd exporter in version 0.0.3 creates a temporary file, moves
it to the target location and chmods it there. This creates a race
condition, in which Prometheus can be unable to read the file.

Additionally the outfile was created with too wide permissions (group-
and world-writable).

Both issues are resolved upstream, but not yet released.
2024-01-29 22:08:16 +01:00
Aaron Jheng
d38485921a
treewide: vendorSha256 -> vendorHash (#256514) 2023-09-21 19:11:11 +02:00
Sandro Jäckel
3ad7d71afe treewide: don't set platforms.unix for buildGoModule 2023-06-13 17:54:26 +03:00
Malo Bourgon
0e802eafad treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
Andreas Rammhold
31e5b8dc21
Remove myself from maintainers
I don't have time and energy to deal with all of this anymore.
2022-01-20 00:24:52 +01:00
Ben Siraphob
63e59fbea7 packet-sd: enable build on unix 2020-11-22 21:04:40 +07:00
Andreas Rammhold
2bfa21205a
packet-sd: init at 0.0.3
This is currently being used as part of the NixOS.org infrastructure [1]
and should probably be included here and not just "downstream" (in the
nixops configs).

[1] 26105e7afa/delft/prometheus/packet-sd.nix
2020-11-21 20:34:17 +01:00