[CentOS-devel] [EXTERNAL] Re: Rpm post scriplet failed with exit status 1 but return status of rpm is 0

Wed Jul 10 09:49:50 UTC 2019
Maheshwari, Shagun <Shagun.Maheshwari at Harman.com>

Hi Trevor,

Thank you!! for your response.

I will raise this issue on Bugzilla but I want to know why RPM is allow to install in your system when scriptlet failing error is coming?
Is this a right behavior?

Regards,
Shagun

From: Trevor Hemsley <trevor.hemsley at ntlworld.com>
Sent: Wednesday, July 10, 2019 2:31 PM
To: The CentOS developers mailing list. <centos-devel at centos.org>; Maheshwari, Shagun <Shagun.Maheshwari at Harman.com>
Subject: [EXTERNAL] Re: [CentOS-devel] Rpm post scriplet failed with exit status 1 but return status of rpm is 0

On 10/07/2019 05:52, Maheshwari, Shagun wrote:
Hi,

On CentOS 6, when we try to install any rpm it fails with scriplet failed with exit status 1 but return status of rpm is also 1 which is correct.
Example:
But On CentOS 7, we are not getting return status of rpm as 1 it is coming 0, which is installing the RPM.

Since CentOS is a rebuild of the sources used to create RHEL, you will need to report this on bugzilla.redhat.com to stand a chance of getting it changed. If Redhat accept the change and publish the fix then it will be picked up and rebuilt for CentOS once it is released.

Trevor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20190710/393e967b/attachment-0008.html>