Bug#813544: [pkg-go] Bug#813544: prometheus-node-exporter: cannot run as root

2016-02-03 Thread Martín Ferrari
On 03/02/16 19:20, Anton wrote: >> 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 >

Bug#813544: [pkg-go] Bug#813544: prometheus-node-exporter: cannot run as root

2016-02-03 Thread Anton
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 filesyste

Bug#813544: [pkg-go] Bug#813544: prometheus-node-exporter: cannot run as root

2016-02-03 Thread Martín Ferrari
Hi Anton, On 02/02/16 23:10, Anton T wrote: > It seems that setting USER=root in /etc/default/prometheus-node-exporter > breaks the init script because HELPER_ARGS is defined before > /etc/default/$NAME is included. Thanks for the patch! I have already applied it in the git repository, and will

Bug#813544: prometheus-node-exporter: cannot run as root

2016-02-02 Thread Anton T
Package: prometheus-node-exporter Version: 0.12.0+ds-2 Severity: important Tags: patch Dear Maintainer, It seems that setting USER=root in /etc/default/prometheus-node-exporter breaks the init script because HELPER_ARGS is defined before /etc/default/$NAME is included. This patch fixes the issue