Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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/