Bug 1978317 - node_exporter user/group creation fails on installation
Summary: node_exporter user/group creation fails on installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: golang-github-prometheus-node-exporter
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-01 14:24 UTC by tom
Modified: 2021-07-18 00:31 UTC (History)
3 users (show)

Fixed In Version: golang-github-prometheus-node-exporter-1.1.1-3.el7
Clone Of:
Environment:
Last Closed: 2021-07-18 00:31:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description tom 2021-07-01 14:24:11 UTC
Description of problem:
The node_exporter service fails to start successfully, as the node_exporter user and group are not created when this package is installed.

Version-Release number of selected component (if applicable):
1.1.1-2.el7.x86_64

How reproducible:
Reproduces every time

Steps to Reproduce:
1. Install
2.
3.

Actual results:
The node_exporter service fails to start successfully.

Expected results:
The node_exporter service starts successfully.

Additional info:
The rpm spec is attempting to use systemd-sysusers to create the node_exporter user, and systemd-sysusers doesn't exist in centos 7.

Comment 1 Robert-André Mauchin 🐧 2021-07-02 09:52:48 UTC
This is strange, in centos 7, it is version 219 of systemd, and it does contain syususers and the sysusers_create macro.

Ha, it seems it is manually disabled in the SPEC of systemd, which sucks.

Bqck to shadow-utils them.

Comment 2 Robert-André Mauchin 🐧 2021-07-02 09:58:39 UTC
Thanks for your report. I'm taking care of it ASAP.

Comment 3 Fedora Update System 2021-07-02 10:01:09 UTC
FEDORA-EPEL-2021-dd57d33588 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-dd57d33588

Comment 4 Fedora Update System 2021-07-03 00:41:53 UTC
FEDORA-EPEL-2021-dd57d33588 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-dd57d33588

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-07-18 00:31:16 UTC
FEDORA-EPEL-2021-dd57d33588 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.