Description of problem:
Version-Release number of selected component (if applicable):
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
* no scriptlet failures
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?
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).
(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?
OK i have been able to reproduce the problem locally:
rpm -e --nodeps fence-agents
yum install kexec-tools
yum install fence-agents
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.
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.