Bug 134481
Summary: | tcl/tk applications slow to start | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gérard Milmeister <gemi> |
Component: | tk | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED CANTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | mattdm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-03 03:34:23 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: | |||
Bug Blocks: | 150221 |
Description
Gérard Milmeister
2004-10-03 21:17:48 UTC
How do you know it is scanning /usr/share ? I did an strace. Reproduced. Do you think this is a Fedora packaging issue? I don't think so. Probably tk (or tcl) scans /usr/share to locate packages, but this is very inefficient. Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match. Seems upstream has been working on this for 8.5, in the meantime: "RFE 680169 in the Tcl Feature Request Tracker offers a few patches that are "band-aid" solutions that can be applied to a Tcl 8.4 installation while waiting for the 8.5 release." -- Don Porter Does this response help at all: http://sourceforge.net/mailarchive/message.php?msg_id=11374051 ? As this response indicates, there is no good way to improve this. IMHO this has simply been a bad design in tcl. One could patch the source to exclude /usr/lib and /usr/share from $auto_path, but then some tcl apps may fail to run, because they expect tcl libraries found in /usr/lib or /usr/share. Ok, so reordering the path does not help? No, since /usr/lib and /usr/share are always included, whatever the setting of TCLLIBPATH, they are only put at the end of path. But all directories in the path searched, resp. their subdirectories. I think this is stupid, but to prevent this will surely break something... |