Bug 713704 - pdksh should depend on grep
Summary: pdksh should depend on grep
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: pdksh
Version: 5.6
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-16 10:08 UTC by Jan Stodola
Modified: 2013-03-15 15:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-15 15:59:24 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Stodola 2011-06-16 10:08:16 UTC
Description of problem:
pdksh uses 'grep' in its installation scriplets, but the package doesn't depend on grep:

[root@rtt6 ~]# rpm -q pdksh
pdksh-5.2.14-36.el5
[root@rtt6 ~]# rpm -q --scripts pdksh | grep grep
     if ! grep -q '^/bin/ksh$' /etc/shells ; then
if ! grep -q '^/usr/bin/ksh$' /etc/shells ; then
if ! grep -q '^/usr/bin/pdksh$' /etc/shells ; then
if ! grep '^/bin/ksh$' /etc/shells > /dev/null; then
[root@rtt6 ~]# rpm -q --requires pdksh | grep grep
[root@rtt6 ~]#

This causes error messages in some cases:
...
  Installing     : libtermcap                            11/13 
  Installing     : bash                                  12/13 
  Installing     :  dksh                                 13/13 
/var/tmp/rpm-tmp.21381: line 4: grep: command not found
/var/tmp/rpm-tmp.21381: line 8: grep: command not found
/var/tmp/rpm-tmp.21381: line 11: grep: command not found


Version-Release number of selected component (if applicable):
pdksh-5.2.14-36.el5

How reproducible:
always

Steps to Reproduce:
1. yum --installroot=/root/new_root install pdksh
  
Actual results:
error messages while installing the package, pdksh doesn't depend on grep

Expected results:
no errors during installation

Comment 1 RHEL Program Management 2011-09-23 00:10:55 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.

Comment 2 RHEL Program Management 2012-06-12 01:03:30 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.

Comment 4 Michal Hlavinka 2013-03-15 15:59:24 UTC
I am sorry, but it is now too late in the RHEL-5 release cycle.
RHEL-5.10 (the next RHEL-5 minor release) is going to be the first
production phase 2 [1] release of RHEL-5. Since phase 2 we'll be
addressing only security and critical issues.
This issue should fixed in RHEL-6 therefore I am closing the bug as
NEXTRELEASE.

[1] https://access.redhat.com/support/policy/updates/errata/


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