Bug 739050

Summary: non-fatal <unknown> scriptlet failure in rpm package fence-agents
Product: Red Hat Enterprise Linux 6 Reporter: Milos Malik <mmalik>
Component: kexec-toolsAssignee: Cong Wang <amwang>
Status: CLOSED ERRATA QA Contact: Caspar Zhang <czhang>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: cye, czhang, fdinitto, qcai, rkhan, rohara
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kexec-tools-2_0_0-205_el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 18:19:45 UTC Type: ---
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: 747120    
Attachments:
Description Flags
Fix for fence-agents triggerin script in kexec-tools spec file. none

Description Milos Malik 2011-09-16 12:17:51 UTC
Description of problem:


Version-Release number of selected component (if applicable):
fence-agents-3.1.5-8.el6

How reproducible:
always

Steps to Reproduce:
1. get a fresh RHEL-6.2 machine
2. log as root in via ssh
3. yum -y install audit cman cmirror corosync fence-agents grep initscripts kmod-cmirror libselinux libselinux-utils luci lvm2-cluster mktemp NetworkManager openais policycoreutils rgmanager ricci sed selinux-policy selinux-policy-targeted setools setools-console
  
Actual results (seen on i386 machine):
  Installing : fence-agents-3.1.5-8.el6.i686                             29/41
Non-fatal <unknown> scriptlet failure in rpm package fence-agents-3.1.5-8.el6.i686
warning: %triggerin(fence-agents-3.1.5-8.el6.i686) scriptlet failed, exit status 1

Actual results (seen on x86_64 machine):
  Installing : fence-agents-3.1.5-8.el6.x86_64                            35/41
Non-fatal <unknown> scriptlet failure in rpm package fence-agents-3.1.5-8.el6.x86_64
warning: %triggerin(fence-agents-3.1.5-8.el6.x86_64) scriptlet failed, exit status 1

Expected results:
* no scriptlet failures

Comment 3 Fabio Massimo Di Nitto 2011-09-20 04:47:04 UTC
Milos,

I spoke to some rpm/yum guys.

The %triggerin section is executed by some other packages when fence-agents is installed/updated/removed and it's not a bug in fence-agents itself.

As far as I know the only package that does trigger on fence-agents is kdump-tools (or kdump-utils?).

Can you please check if kdump was installed on the system at the time fence-agents was being installed?

Comment 5 Milos Malik 2011-09-20 06:50:55 UTC
Your theory seems to be right. kexec-tools package (which contains kdump) was already installed on the machine when I got it from inventory (before I executed the yum command).

Comment 6 Fabio Massimo Di Nitto 2011-09-20 06:56:17 UTC
(In reply to comment #5)
> Your theory seems to be right. kexec-tools package (which contains kdump) was
> already installed on the machine when I got it from inventory (before I
> executed the yum command).

I am also testing this locally now, but could you be so kind to do a counter test by removing kexec-tools from the installation before installing fence-agents?

Thanks!

Comment 7 Fabio Massimo Di Nitto 2011-09-20 07:03:21 UTC
OK i have been able to reproduce the problem locally:

rpm -e --nodeps fence-agents
yum install kexec-tools
yum install fence-agents

Running Transaction
  Installing : fence-agents-3.1.5-9.el6.x86_64                              1/1 
Non-fatal <unknown> scriptlet failure in rpm package fence-agents-3.1.5-9.el6.x86_64
warning: %triggerin(fence-agents-3.1.5-9.el6.x86_64) scriptlet failed, exit status 1

Note that I did not configure kexec-tools, but merely installed the package.

Comment 17 errata-xmlrpc 2011-12-06 18:19:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1532.html