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
I've just hit the same issue
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.
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.
Created attachment 1912138 [details] spec diff that fixes the issue
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
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
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.