summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2024-08-11 20:04:28 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2024-09-19 17:28:30 +0200
commit86a6ef5f15b931eb480271bfa61095b15e5de400 (patch)
treef500af14b82c4e23af7bcd761c6f6d25d934f00f /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent33b19e7dbb45ca7778ae30b8219c95ce82fd3558 (diff)
nixos/prometheus-smartctl-exporter: fix NVMe scanning
smartctl_exporter already runs with SupplementaryGroups "disk", which gives full access to SATA drives, but NVMe devices are owned by root:root, resulting in no access: [...] msg="Smartctl open device: /dev/nvme0 failed: Permission denied" This patch introduces a "smartctl-exporter-access" supplementary group, and an udev rule with setfacl to give the exporter access to NVMe drives, without changing the base root:root ownership. Fixes https://github.com/NixOS/nixpkgs/issues/210041
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions