Bug 31998

Summary: Prometheus fails to create users
Product: Mageia Reporter: Juan Magallón <waldergeist>
Component: RPM PackagesAssignee: Guillaume Rousse <guillomovitch>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: golang-github-prometheus-2.32.1-2.mga9.src.rpm CVE:
Status comment:

Description Juan Magallón 2023-06-09 14:36:01 CEST
On install:

/var/tmp/rpm-tmp.2dNyru: line 1: fg: no job control
error: %prein(golang-github-prometheus-2.32.1-2.mga9.x86_64) scriptlet failed, exit status 1
ERROR: 'script' failed for golang-github-prometheus-2.32.1-2.mga9.x86_64
error: golang-github-prometheus-2.32.1-2.mga9.x86_64: install failed

Pre scripts look like:

annwn:~/tmp# rpm -q --scripts g*
preinstall scriptlet (using /bin/sh):
%sysusers_create_compat /home/iurt/rpmbuild/SOURCES/prometheus.sysusers

Probably fails for the path from the build machine...
Comment 1 Lewis Smith 2023-06-09 21:17:06 CEST
Description :
The Prometheus monitoring system and time series database.
----------------------------------------------------------
Thank you for the report; which I confirm on trying to install the pkg.

Assigning to Gullaume who maintains this.

Assignee: bugsquad => guillomovitch

Comment 2 David GEIGER 2023-06-11 19:36:27 CEST
Should be fixed in golang-github-prometheus-2.32.1-3.mga9!

CC: (none) => geiger.david68210