Bug 2073861 - cannot install v2.26.1-2.el7 due to /usr/bin/systemd-sysusers dependency
Summary: cannot install v2.26.1-2.el7 due to /usr/bin/systemd-sysusers dependency
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: golang-github-prometheus
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mark E. Fuller
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-10 23:57 UTC by jadolph
Modified: 2024-07-09 03:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 03:57:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
spec diff that fixes the issue (10.24 KB, text/plain)
2022-09-15 16:58 UTC, Nathanael Noblet
no flags Details
spec diff that fixes the issue (1.20 KB, patch)
2022-09-15 17:00 UTC, Nathanael Noblet
no flags Details | Diff

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.


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