Required system account is not deployed during installation

Bug #1814214 reported by Karlis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
prometheus-bind-exporter (Ubuntu)
Undecided
Unassigned

Bug Description

Systemd service file has User parameter which specifies that service should be run as "prometheus" user. But this account is not created during package installation process and has to be added manually to be able to start process.

root@hostname/etc/systemd/system/multi-user.target.wants# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

root@hostname:/etc/systemd/system/multi-user.target.wants# dpkg -l | grep exporter
ii prometheus-bind-exporter 0.2~git20161221+dfsg-1 amd64 Prometheus exporter for Bind server metrics

root@hostname:/etc/systemd/system/multi-user.target.wants# cat /etc/systemd/system/multi-user.target.wants/prometheus-bind-exporter.service | grep User
User=prometheus

root@hostname:/etc/systemd/system/multi-user.target.wants# id prometheus
id: ‘prometheus’: no such user

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in prometheus-bind-exporter (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers