Bug 1611430
Summary: | Move lesspipe.sh to /usr/libexec, or (as a fallback) provide a man(1) lesspipe.sh | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Maryna Nalbandian <mnalband> | ||||
Component: | less | Assignee: | Michal Hlavinka <mhlavink> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | dkutalek, ferdnyc, fpokorny, hhorak, odubaj, praiskup | ||||
Target Milestone: | --- | Keywords: | EasyFix, FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2024-07-29 21:05:44 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: | 1600386 | ||||||
Attachments: |
|
Description
Maryna Nalbandian
2018-08-02 09:04:09 UTC
Created attachment 1472546 [details]
Logs
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'. /usr/libexec makes sense to me, my only concern is that it will break things for all of the existing users, who (if they followed the directions at the top of the file) have configured the environment variable LESSOPEN to reference the specific path /usr/bin/lesspipe.sh. Perhaps what we should do instead, to future-proof a move to /usr/libexec/, is create a subpackage for lesspipe (an RPM Recommends or Suggests soft dependency), which includes not only /usr/libexec/lesspipe.sh, but also /etc/profile.d/lesspipe.[c]sh wrappers to define the LESSPIPE environment variable accordingly. That way, users who wish to use lesspipe just have to install the subpackage, they don't need to manually modify their environment at all, and the packaging has control over the contents of that variable so that it can make any future modifications as necessary. (In reply to "FeRD" (Frank Dana) from comment #3) > /etc/profile.d/lesspipe.[c]sh wrappers to define the LESSPIPE environment s/LESSPIPE/LESSOPEN/ This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. I don't see it worth it as it could break things on several places. If some change is required, try to make that change in upstream first. |