Bug 2073861

Summary: cannot install v2.26.1-2.el7 due to /usr/bin/systemd-sysusers dependency
Product: [Fedora] Fedora EPEL Reporter: jadolph
Component: golang-github-prometheusAssignee: Mark E. Fuller <mark.e.fuller>
Status: CLOSED EOL QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: eclipseo, go-sig, nathanael
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-09 03:57:12 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:
Attachments:
Description Flags
spec diff that fixes the issue
none
spec diff that fixes the issue none

Description jadolph 2022-04-10 23:57:48 UTC
Description of problem:
Cannot install the package on RHEL7 due to dependency on /usr/bin/systemd-sysusers.

As far as I'm aware, /usr/bin/systemd-sysusers has not been backported to RHEL7 so shouldn't be a dependency of this package.

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

How reproducible:
Very

Steps to Reproduce:
1. yum install golang-github-prometheus-2.26.1-2.el7

Actual results:
Error that /usr/bin/systemd-sysusers dependency cannot be found

Expected results:
Package installs correctly

Additional info:
OS was RHEL 7.9

Comment 1 Nathanael Noblet 2022-09-14 18:37:45 UTC
I've just hit the same issue

Comment 2 Nathanael Noblet 2022-09-14 18:53:21 UTC
It looks like it was caused by the bug 1972026 which was complaining about systemctl but not systemd-users. systemd-users doesn't exist in EPEL - 7.

Comment 3 Nathanael Noblet 2022-09-15 16:58:33 UTC
Created attachment 1912137 [details]
spec diff that fixes the issue

This spec patch fixes the issue and prometheus can be installed and runs properly on CentOS 7 via epel.

Comment 4 Nathanael Noblet 2022-09-15 17:00:02 UTC
Created attachment 1912138 [details]
spec diff that fixes the issue

Comment 5 Nathanael Noblet 2022-09-15 17:01:50 UTC
The only thing I don't understand about the systemd-user format in prometheus.conf. Is the last line "r     -           500-900" I have no idea how that applies to the useradd / groupadd

Comment 6 Fedora Admin user for bugzilla script actions 2023-06-11 00:40:22 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Fedora Admin user for bugzilla script actions 2023-06-23 00:15:37 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 8 Troy Dawson 2024-07-09 03:57:12 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.