[pkg-go] Bug#813544: Bug#813544: prometheus-node-exporter: cannot run as root
Anton
contaminates at baconmail.net
Wed Feb 3 19:20:24 UTC 2016
Hi Martín,
> Thanks for the patch! I have already applied it in the git repository,
> and will be uploaded soon.
Thanks for the quick fix!
>
> Now, I would not recommend to run the node exporter as root, unless
> absolutely necessary. Do you have a use case for it?
I have a number of filesystems that are mounted within a directory structure only accessible by root.
Non-root users are unable to statfs() those mount points, however I need to monitor their disk usage.
What I will probably do in the long-term is mount those partitions into another directory and then bind-mount them to the root-owned path, however running the exporter as root is a work-around I am using until that happens.
- Anton
More information about the Pkg-go-maintainers
mailing list