postinst does not add prometheus user

Bug #1811657 reported by Fabian Weisshaar
This bug affects 1 person
Affects Status Importance Assigned to Milestone
prometheus-apache-exporter (Ubuntu)

Bug Description

The postinst script doesn't create the prometheus user. This makes the exporter unusable until prometheus user is created manually. I already fixed the bug upstream with and it's part of the 0.5.0+ds-2 bugfix release.

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
  Installed: 0.5.0+ds-1
  Candidate: 0.5.0+ds-1
  Version table:
 *** 0.5.0+ds-1 500
        500 bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen
$ systemctl start prometheus-apache-exporter
starts the exporter

4) What happened instead
systemd[29960]: prometheus-apache-exporter.service: Failed to determine user credentials: No such process
systemd[29960]: prometheus-apache-exporter.service: Failed at step USER spawning /usr/bin/prometheus-apache-exporter: No such process

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers