Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 905869

Summary: Bad symlink for gawk on upd-instroot script
Product: Red Hat Enterprise Linux 6 Reporter: Olivier BONHOMME <obonhomme>
Component: anacondaAssignee: Samantha N. Bueno <sbueno>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 11:18:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch proposal for gawk/awk symlink issue none

Description Olivier BONHOMME 2013-01-30 11:05:17 UTC
Created attachment 690283 [details]
Patch proposal for gawk/awk symlink issue

Description of problem:

When using the buildinstall script in order to generate a custom version for the anaconda installer, there is a bad symlink in the target tree :

lrwxrwxrwx.  1 root root   36 30 janv. 13:40 awk -> /tmp/treedir.Qdpaww/install/bin/gawk

The problem is located into the upd-instroot script. The symlink is done in the bad way

1172 if [ -f $DEST/bin/gawk ]; then
1173     ln -sf $DEST/bin/gawk awk
1174 fi

I think the link shoulw be done like this ln -sf awk $DEST/bin/gawk as it is done above for the bash shell.

Version-Release number of selected component (if applicable): 13.21-176

How reproducible: Try to generate an anaconda installer with the buildinstall script.

Steps to Reproduce:
1. Generate an anaconda installer with buildinstall
2. List the target tree after the end of the script
3.
  
Actual results:

There is an awful broken symlink for awk.

Expected results:

A clean target tree

Additional info: It seems that it is the same bug as described here https://bugzilla.redhat.com/show_bug.cgi?id=577452 but it seems it has never been fixed and it is still present in to the RHEL 6 anaconda version (Checked in the last src.rpm available)

You will find also as attachement a patch proposal.

Comment 3 RHEL Program Management 2013-05-06 21:17:13 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 5 Jan Kurik 2017-12-06 11:18:53 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/