Your message dated Fri, 06 May 2016 19:07:24 +0000
with message-id <[email protected]>
and subject line Bug#813544: fixed in prometheus-node-exporter 
0.12.0+ds+really0.12.0-1
has caused the Debian Bug report #813544,
regarding prometheus-node-exporter: cannot run as root
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
813544: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813544
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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:
--- /etc/init.d/prometheus-node-exporter.orig   2016-02-02 23:06:36.000000000 
+0000
+++ /etc/init.d/prometheus-node-exporter        2016-02-02 23:07:06.000000000 
+0000
@@ -23,12 +23,12 @@
 PIDFILE=/var/run/prometheus/prometheus-node-exporter.pid
 LOGFILE=/var/log/prometheus/prometheus-node-exporter.log

-HELPER=/usr/bin/daemon
-HELPER_ARGS="--name=$NAME --output=$LOGFILE --pidfile=$PIDFILE --user=$USER"
-
 ARGS=""
 [ -r /etc/default/$NAME ] && . /etc/default/$NAME

+HELPER=/usr/bin/daemon
+HELPER_ARGS="--name=$NAME --output=$LOGFILE --pidfile=$PIDFILE --user=$USER"
+
 do_start_prepare()
 {
     mkdir -p `dirname $PIDFILE` || true


Kind regards,
Anton

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages prometheus-node-exporter depends on:
ii  daemon  0.6.4-1
ii  libc6   2.19-18+deb8u1

prometheus-node-exporter recommends no packages.

prometheus-node-exporter suggests no packages.

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Source: prometheus-node-exporter
Source-Version: 0.12.0+ds+really0.12.0-1

We believe that the bug you reported is fixed in the latest version of
prometheus-node-exporter, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martín Ferrari <[email protected]> (supplier of updated 
prometheus-node-exporter package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 06 May 2016 19:02:38 +0000
Source: prometheus-node-exporter
Binary: prometheus-node-exporter
Architecture: source amd64
Version: 0.12.0+ds+really0.12.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team 
<[email protected]>
Changed-By: Martín Ferrari <[email protected]>
Description:
 prometheus-node-exporter - Prometheus exporter for machine metrics
Closes: 813544 814227
Changes:
 prometheus-node-exporter (0.12.0+ds+really0.12.0-1) unstable; urgency=medium
 .
   * New upstream release, which is really 0.12.0. The previous version was
     actually 0.12.0rc1, but I made a mistake, hence the weird version number
     for this release. Closes: #814227.
   * Stop ignoring some configuration values in initscript. Thanks to
     [email protected] for the patch. Closes: #813544.
   * Remove now unneeded patches.
   * debian/control:
     - Add new dependencies.
     - Update Standards-Version with no changes.
   * debian/rules: Fix gen-orig-tgz target.
Checksums-Sha1:
 c344294d4fe924195eb4b093df6e9332136d69e9 2551 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1.dsc
 88f220892f5f7683055a2fad6fabea6e59d599d8 75557 
prometheus-node-exporter_0.12.0+ds+really0.12.0.orig.tar.gz
 1104d0f104a11a12777f4410b69f12c42b8a3dd3 5852 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1.debian.tar.xz
 47dee0687d2d1bed57fcc36a51f120001b8bc45f 2157824 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1_amd64.deb
Checksums-Sha256:
 b45f068e11fd04156bee9dc22c428493c1fcb7e67c22508a43e34109e5bfcd27 2551 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1.dsc
 c3e2e88bc700819cf6c56539dd3fcf709e1365c15e2c5483cc3523b26dd09d33 75557 
prometheus-node-exporter_0.12.0+ds+really0.12.0.orig.tar.gz
 8b9b959c3e7c0aed28f72e41571658ae1b052848207973db87a67cea1ea0a336 5852 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1.debian.tar.xz
 72cba0628ce0e9282e0848be6a0b808f43a39bafd804228dd41e52e4f18936a9 2157824 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1_amd64.deb
Files:
 1ac242a7df48eb2df3dccadb0923e811 2551 net extra 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1.dsc
 40ee25238c18cc93840f41d2351d2f44 75557 net extra 
prometheus-node-exporter_0.12.0+ds+really0.12.0.orig.tar.gz
 06e9a8ef69f08607deee901b16c6ed2a 5852 net extra 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1.debian.tar.xz
 52a5d9715bff7597e72d71fb53e0230f 2157824 net extra 
prometheus-node-exporter_0.12.0+ds+really0.12.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXLOqGAAoJEF3Y4L+Ro9Pa9I0P/AmRWHgBvnEk/k0kb3iPiAok
tuduoGlhcZaDIlVWAyKkEbyCebC4VtVH2Kh5yw7az99G3dYrmfsWR71LDE1SvTbs
lglju8t9xdq/FLPv21DoZmVoj5S+sh4CeVJc3lrHg9pbqFFpIxkCdLJHrp89jN46
e7TsmNv3Q90YQP9rEZRMzLIjIw4kspVBFGewo5w5stLZvNbZQjVRYX+vl8sGkB5V
gE2ChpEj8DZM/QLvHLPDzehUzmItPOmhgmzPJtZQl4j+qcukh/PjDwViLI3yO77Q
MX6GymhqpmeSJw9dV862KiUury6TCC34uq2NtJO3NvBI38tb12H3ELxp/0+VKsXL
rCTq0MYzl2EJBWdmCwv4ggYpFC/iQJZHojfMm+35WKIAsxS1VZ3X60dUMr5Fny1Q
tjp4KFTCEwLxZSLF7RCTd6sE1TlEB0bvbcoYWmnyFZAN3tIvcqpPpVbNXeOtSST9
xFxqTfC3T+fRqBzPVWEZ6RTEvmi9epA5OwsEQGKh7pqLxpkA1+0z6MEMH/UhoDUO
psrK9yBRvpRTkyGOksyLyno2t9wlILlx48ME9MkLMgvply/e0NWRFq6YuEKGRMFc
C0ao7UHOYqiNldm2xofkNPOs1MJS8ffuHg2iIvpA3URlPekY55GwyuMIZXUIXpC8
900vx4yLesOBACjzzUyq
=5iCB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to