|
sas-smart: use /run/wrappers/bin/sudo instead of Nix store sudo
The Nix store sudo binary lacks the setuid bit (Nix store is not setuid-capable), so calling it as the telegraf user fails silently with "must be owned by uid 0 and have the setuid bit set". This caused the sas-smart exec to emit nothing and smart_sas data never refreshed after the initial manual write. Switch to the NixOS security wrapper at /run/wrappers/bin/sudo which is the proper setuid wrapper. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> |
|---|
|
|
| modules/monitoring.nix |
|---|