Bug 233083 - Wrong link command in gfs2-utils mkfs/Makefile (with solution)
Wrong link command in gfs2-utils mkfs/Makefile (with solution)
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gfs2-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Robert Peterson
Dean Jansa
Depends On:
  Show dependency treegraph
Reported: 2007-03-20 09:02 EDT by Jos Vos
Modified: 2010-01-11 22:37 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2007-0579
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 13:04:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to fix the problem (492 bytes, patch)
2007-03-20 16:33 EDT, Robert Peterson
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0579 normal SHIPPED_LIVE gfs2-utils bug fix update 2007-11-08 09:13:05 EST

  None (edit)
Description Jos Vos 2007-03-20 09:02:44 EDT
Description of problem:
In mkfs/Makefile the following link command is done while installing:

ln -f ${MKFS} ${sbindir}/${JADD}

Although this syntax would work for a symbolic link, it will not do what you
want for a hard link: ${JADD} in the *install root* will be hardlinked to
${MKFS} in the *build directory* (which fails when they are on different
filesystems!) and the result is that ${MKFS} and ${JADD} in ${sbindir} will not
be hardlinked.

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

Solution: change the link in mkfs/Makefile to:

ln -f ${sbindir}/${MKFS} ${sbindir}/${JADD}
Comment 2 Robert Peterson 2007-03-20 16:33:16 EDT
Created attachment 150531 [details]
Patch to fix the problem
Comment 3 RHEL Product and Program Management 2007-03-26 10:44:05 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 4 Robert Peterson 2007-03-26 15:42:57 EDT
Fix committed to cvs in HEAD and RHEL5 branches.  Changing status
to modified.
Comment 7 errata-xmlrpc 2007-11-07 13:04:45 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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