RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 712362 - portreserve should depend on chkconfig
Summary: portreserve should depend on chkconfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: portreserve
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 718173 718199
TreeView+ depends on / blocked
 
Reported: 2011-06-10 12:37 UTC by Jan Stodola
Modified: 2012-04-03 15:20 UTC (History)
4 users (show)

Fixed In Version: portreserve-0.0.4-7.el6
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
: 718173 718199 (view as bug list)
Environment:
Last Closed: 2012-04-03 15:20:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to the portreserve spec file to include chkconfig to Requires(post) and Requires(preun) (527 bytes, patch)
2011-07-01 09:17 UTC, Madhavprasad Pai
mkpai: review?
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0447 0 normal SHIPPED_LIVE portreserve bug fix update 2012-04-03 19:16:29 UTC

Description Jan Stodola 2011-06-10 12:37:52 UTC
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

Comment 1 Madhavprasad Pai 2011-07-01 09:17:59 UTC
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)

Comment 2 RHEL Program Management 2011-07-06 00:34:31 UTC
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.

Comment 7 RHEL Program Management 2011-08-19 18:08:59 UTC
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.

Comment 10 Eliska Slobodova 2012-01-20 12:54:08 UTC
    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.

Comment 14 errata-xmlrpc 2012-04-03 15:20:03 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/RHBA-2012-0447.html


Note You need to log in before you can comment on or make changes to this bug.