Bug 226893
Summary: | Tcl needs a restricted auto_path | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Wart <wart> | ||||
Component: | tcl | Assignee: | Marcela Mašláňová <mmaslano> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | sander | ||||
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: | 2008-01-18 08:18:36 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: | 227200, 227951 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Wart
2007-02-01 21:34:20 UTC
Good point, but I think the upstream should be the most capable to solve it. I have contacted upstream about this, and their response was expected: Tcl has 10 years of history of using /usr/lib and /usr/share as package directories, and if it stops doing so then applications break. I agree that this is fine for upstream's policy, because they have to deal with existing installations of extensions, and with extensions installed manually. But Fedora is in a position to fix that for our own distribution. Fedora can control where Fedora packages are installed, which means we can put all of Fedora's tcl extensions into %{tcl_sitearch} and %{tcl_sitelib} and achieve this optimization. If there are any Fedora applications that are hardcoding /usr/lib, then we have the ability to fix them. btw, I have a patch that fixes this, but I want to test it a little more before attaching it. Ok, we can fix it. Created attachment 147591 [details] Patch to restrict entries in auto_path This patch modifies init.tcl to prevent it from adding /usr/lib{64} and /usr/share onto the package search path. This patch should not be committed until bug #227200 has been committed and package maintainers have had a chance to update their packages to install into the new package directories. It might be best to wait for the Fedora Packaging committee to approve the proposed Tcl packaging guidelines: http://fedoraproject.org/wiki/MichaelThomas/Tcl fixed in tcl-1:8.5.0-6 |