Hide Forgot
Description of problem: portreserve runs '/sbin/chkconfig' in its installation scriplets, but the package doesn't depend on chkconfig: [root@rtt6 ~]# rpm --nogpg -q --scripts -p rpms/portreserve-0.0.4-4.el6.s390x.rpm | grep chkconfig /sbin/chkconfig --add portreserve /sbin/chkconfig --del portreserve [root@rtt6 ~]# rpm -qf /sbin/chkconfig chkconfig-1.3.47-1.el6.s390x [root@rtt6 ~]# rpm --nogpg -q --requires -p rpms/portreserve-0.0.4-4.el6.s390x.rpm | grep chkconfig [root@rtt6 ~]# It causes error messages in some cases: ... Installing : ncurses-libs-5.7-3.20090208.el6.s390x 10/12 Installing : bash-4.1.2-8.el6.s390x 11/12 Installing : portreserve-0.0.4-4.el6.s390x 12/12 Non-fatal POSTIN scriptlet failure in rpm package portreserve-0.0.4-4.el6.s390x /var/tmp/rpm-tmp.UJ2OZ2: line 3: /sbin/chkconfig: No such file or directory warning: %post(portreserve-0.0.4-4.el6.s390x) scriptlet failed, exit status 127 Version-Release number of selected component (if applicable): portreserve-0.0.4-4.el6 How reproducible: always Steps to Reproduce: 1. yum --installroot=/root/new_install_root install portreserve Actual results: errors during installation Expected results: portreserve depends on chkconfig, no error messages during installation
Created attachment 510825 [details] patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun) patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun)
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The portreserve package requires the "chkconfig" command because it is run in installation scriptlets. However, this was previously not reflected in the package metadata, and error messages could be displayed during installation. To prevent this issue, this update adds requirement tags for chkconfig.
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/RHBA-2012-0447.html