Bug 918449

Summary: libtool should not rely on hard links for locking purposes
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: libtoolAssignee: Ondrej Dubaj <odubaj>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mopsfelder, ngalvin, praiskup, rhbugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 595429 Environment:
Last Closed: 2021-10-05 07:13:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 595429    
Bug Blocks:    

Description Pavel Raiskup 2013-03-06 09:23:27 UTC
+++ This bug was initially created as a clone of Bug #595429 +++

Description of problem:
The file /usr/share/libtool/ltmain.sh provided by libtool package uses hard
links to lock single object files with the generated libtool script and causes
error on file systems that don't support or allow hard links (e.g.: AFS).

Steps to Reproduce:
1. Build a program that uses libtoolize on a file system that doesn't support
   or allow hard links.

Actual results:
/usr/share/libtool/ltmain.sh tries to create hard links.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Cloning RHEL5 bug to properly track upstream drawback.

Possible solution for future would be to add support for other type of locking
in libtool or add check whether particular filesystem is able to create
hard-links for libtool or not.

Some points we can look at and start from are upstream proposal [1], or links
[2], [3] and [4] (and there may be others).

Pavel

[1] Already proposed solution to upstream,
    http://lists.gnu.org/archive/html/bug-libtool/2002-12/msg00018.html

[2] Another (relevant looking) upstream report,
    http://lists.gnu.org/archive/html/libtool/2002-01/msg00104.html

[3] And another upstream thread,
    http://lists.gnu.org/archive/html/bug-libtool/2003-02/msg00010.html

[4] Debian bug against libtool
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357140

Comment 1 Fedora End Of Life 2013-04-03 19:57:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Fedora Admin user for bugzilla script actions 2021-07-01 15:31:38 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Ondrej Dubaj 2021-10-05 07:13:56 UTC
This tracker probably does not have enough high priority to be investigated, as it is untouched for years already and does not seem to disturb any user. If you have any specific reason, why why should consider fixing this, please feel free to reopen this bug. Thank you