Bug 2139720

Summary: POSTIN scriptlet is broken in pcp-zeroconf
Product: Red Hat Enterprise Linux 9 Reporter: Ben Morrice <ben.morrice>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Kurik <jkurik>
Severity: unspecified Docs Contact: Jacob Taylor Valdez <jvaldez>
Priority: unspecified    
Version: CentOS StreamCC: agerstmayr, bstinson, bugproxy, jkurik, jwboyer, nathans, scox
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-6.0.1-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2149214 (view as bug list) Environment:
Last Closed: 2022-11-29 08:38:54 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:
Bug Depends On:    
Bug Blocks: 2149214    
Attachments:
Description Flags
Packaging log captured during failure
none
logs from /tmp just after install failure
none
anaconda log
none
program.log none

Description Ben Morrice 2022-11-03 10:09:30 UTC
Description of problem:

Installing pcp-zeroconf-6.0.0-1.el9.x86_64 causes a scriptlet failure

Version-Release number of selected component (if applicable):

pcp-zeroconf-6.0.0-1.el9.x86_64

How reproducible:

Always

Steps to Reproduce:
1. dnf install pcp-zeroconf-6.0.0-1.el9.x86_64

Actual results:
                                                                                                                              12/13 
  Installing       : pcp-zeroconf-6.0.0-1.el9.x86_64                                                                                                                                   13/13 
  Running scriptlet: pcp-zeroconf-6.0.0-1.el9.x86_64                                                                                                                                   13/13 
/var/tmp/rpm-tmp.LZTLDr: line 20: ${run_pmieconf "$PCP_PMIECONFIG_DIR" dmthin}: bad substitution
warning: %post(pcp-zeroconf-6.0.0-1.el9.x86_64) scriptlet failed, exit status 1

Error in POSTIN scriptlet in rpm package pcp-zeroconf

Expected results:

No scriptlet failures

Additional info:

Comment 1 Nathan Scott 2022-11-03 10:33:27 UTC
Thanks for the report Ben - this one is fixed in pcp-6.0.1 which is currently
going through the update process.

Comment 2 Nathan Scott 2022-11-15 22:19:36 UTC
*** Bug 2142708 has been marked as a duplicate of this bug. ***

Comment 3 IBM Bug Proxy 2022-11-21 14:35:59 UTC
------- Comment From chavez.com 2022-11-18 16:31 EDT-------
*** Bug 200527 has been marked as a duplicate of this bug. ***

Comment 4 IBM Bug Proxy 2022-11-21 14:36:01 UTC
Created attachment 1926097 [details]
Packaging log captured during failure

Comment 5 IBM Bug Proxy 2022-11-21 14:36:03 UTC
Created attachment 1926098 [details]
logs from /tmp just after install failure

Comment 6 IBM Bug Proxy 2022-11-21 14:36:05 UTC
Created attachment 1926099 [details]
anaconda log

Comment 7 IBM Bug Proxy 2022-11-21 14:36:06 UTC
Created attachment 1926100 [details]
program.log

Comment 8 IBM Bug Proxy 2022-11-23 06:20:32 UTC
------- Comment From ssant.com 2022-11-23 01:16 EDT-------
This problem is fixed in latest Nightly build for RHEL 9.2.

I can install pop-zeroconf using version pcp-zeroconf-6.0.1-3.el9.ppc64le

Comment 9 Jan Kurik 2022-11-29 08:38:54 UTC
Fixed version already available in updates of CentOS-9-stream: http://mirror.stream.centos.org/9-stream/AppStream/