running munin-node as munin/munin makes it impossible to run plugins which need root rights
Task Info (Flyspray) | |
---|---|
Opened By | Andreas Baumann (andreas_baumann) |
Task ID | 65190 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2020-01-18 09:44:49 UTC |
Status | Assigned |
Assignee | Santiago Torres (sangy) |
Details
Description:
I have a configuration for munin-node /etc/munin/munin-node.conf with:
user munin group munin
(this is the standard)
When testing the SMART plugin (one which needs root privileges to work properly), I get:
su -s /bin/bash munin munin-run smart_sdd
Warning: Root privileges are required to change user/group. The plugin may not behave as expected.
Setting other privileges in /etc/munin/plugin-conf.d/munin-node as follows:
[smart_*] user root group disk
doesn't help.
Unless munin-node runs as root it can not change UID/GUID to whatever you configure.
What am I missing here?
Additional info:
- package version(s): 2.0.52-1