Bug 1978317

Summary: node_exporter user/group creation fails on installation
Product: [Fedora] Fedora EPEL Reporter: tom
Component: golang-github-prometheus-node-exporterAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: chewi, eclipseo, go-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: golang-github-prometheus-node-exporter-1.1.1-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-18 00:31:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.