Description of problem: %postun scriptlet fails for aeolus-conductor-daemons Version-Release number of selected component (if applicable): aeolus-conductor-daemons-0.13.14-1.el6cf.noarch.rpm How reproducible: Always Steps to Reproduce: 1. Upgrade aeolus-conductor-daemons Actual results: Cleanup : aeolus-conductor-daemons-0.13.6-1.el6cf.noarch 9/14 Non-fatal POSTUN scriptlet failure in rpm package aeolus-conductor-daemons warning: %postun(aeolus-conductor-daemons-0.13.6-1.el6cf.noarch) scriptlet failed, exit status 127 Expected results: No scriptlet failures
%postun gets installed as included in the *old* spec of the package. Note in the output above that the version in the error is 0.13.6 which just happens to be the old version I had installed. The version in 1.0 does not have a %postun section, so when upgrading from 1.0 to latest puddle, there will be no error. However, upgrading from one 1.1 version to the next will exhibit this behavior. More importantly, if left as is, this error will break upgrade from 1.1 to 1.2/2.0/whatever-is-next.
https://github.com/aeolusproject/conductor/pull/78
In summary, the scriptlet tries to invoke systemctl on el6, which isn't present so it blows up. The pull request above changes it to do a sysvinit condrestart on el6 instead.
43c6345b883bdafd5abcebecc80ace31efc4bbac on 1.1 also addresses TPS failed downgrade.
[root@vmware-esx-01-g1 ~]# wget download.devel.redhat.com/brewroot/packages/aeolus-conductor/0.13.18/1.el6cf/noarch/aeolus-conductor-daemons-0.13.18-1.el6cf.noarch.rpm --2012-10-11 13:48:21-- http://download.devel.redhat.com/brewroot/packages/aeolus-conductor/0.13.18/1.el6cf/noarch/aeolus-conductor-daemons-0.13.18-1.el6cf.noarch.rpm Resolving download.devel.redhat.com... 10.10.36.199 Connecting to download.devel.redhat.com|10.10.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 29092 (28K) [application/x-rpm] Saving to: “aeolus-conductor-daemons-0.13.18-1.el6cf.noarch.rpm” 100%[===================================================================================================================================================================================================>] 29,092 15.3K/s in 1.9s 2012-10-11 13:48:24 (15.3 KB/s) - “aeolus-conductor-daemons-0.13.18-1.el6cf.noarch.rpm” saved [29092/29092] [root@vmware-esx-01-g1 ~]# ll total 96 -rw-r--r--. 1 root root 29092 Oct 9 10:36 aeolus-conductor-daemons-0.13.18-1.el6cf.noarch.rpm -rw-------. 1 root root 10750 Oct 9 23:34 anaconda-ks.cfg -rwxrwxrwx. 1 root root 1437 Oct 10 14:15 check_kvm.sh -rw-r--r--. 1 root root 27292 Oct 9 23:34 install.log -rw-r--r--. 1 root root 7569 Oct 9 23:33 install.log.syslog -rw-r--r--. 1 root root 4 Oct 9 23:34 NETBOOT_METHOD.TXT -rw-r--r--. 1 root root 7 Oct 9 23:34 RECIPE.TXT [root@vmware-esx-01-g1 ~]# rpm -U --force aeolus-conductor-daemons-0.13.18-1.el6cf.noarch.rpm [root@vmware-esx-01-g1 ~]# rpm -qa|grep aeolus-conductor-daemons aeolus-conductor-daemons-0.13.18-1.el6cf.noarch ==================================================== rpm -qa|grep aeolus aeolus-conductor-0.13.18-1.el6cf.noarch aeolus-configure-2.8.9-1.el6cf.noarch aeolus-all-0.13.18-1.el6cf.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-conductor-daemons-0.13.18-1.el6cf.noarch aeolus-conductor-doc-0.13.18-1.el6cf.noarch rubygem-aeolus-cli-0.7.4-1.el6cf.noarch
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/RHEA-2012-1516.html