Bug 2501990

Summary: less 704-2 breaks perldoc
Product: [Fedora] Fedora Reporter: A. Galama <agalama>
Component: lessAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 44CC: hhorak, kas, mhlavink, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: less-704-4.fc45 less-704-4.fc46 less-704-4.fc44 less-704-4.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-19 11:44:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description A. Galama 2026-07-18 07:25:42 UTC
Description of problem:
Since upgrading less from 704-1 to 704-2 perldoc doesn't work anymore.

Version-Release number of selected component (if applicable):
less-704-2.fc44.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Upgrade less from 704-1 to 704-2
2. Use any perldoc command, e.g. "perldoc perlrun", "perldoc IO", "perldoc -f open"
3.

Actual results:
 "read error  (press RETURN)" is shown.

Expected results:
Actual pod contents are shown.

Additional info:
Downgrading to 704-1 fixes the problem (except for the case in Bug 2468485).

Setting LESSOPEN='|/usr/bin/lesspipe.sh %s' also fixes the problem (including Bug 2468485). The default from /etc/profile.d/less.sh is '||/usr/bin/lesspipe.sh %s' (note the double pipe, which is not documented in the less manpage except if it's followed by a dash, i.e. "||-").

Comment 1 Fedora Update System 2026-08-19 09:19:10 UTC
FEDORA-2026-f3652034cd (less-704-4.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f3652034cd

Comment 2 Fedora Update System 2026-08-19 10:17:20 UTC
FEDORA-2026-e9ad80ceb0 (less-704-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e9ad80ceb0

Comment 3 Fedora Update System 2026-08-19 10:20:55 UTC
FEDORA-2026-0034926cc8 (less-704-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0034926cc8

Comment 4 Fedora Update System 2026-08-19 10:20:58 UTC
FEDORA-2026-ee1690121b (less-704-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ee1690121b

Comment 5 Fedora Update System 2026-08-19 11:44:24 UTC
FEDORA-2026-e9ad80ceb0 (less-704-4.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-08-19 14:59:24 UTC
FEDORA-2026-f3652034cd (less-704-4.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-08-20 16:39:30 UTC
FEDORA-2026-0034926cc8 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0034926cc8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0034926cc8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-08-20 16:40:07 UTC
FEDORA-2026-ee1690121b has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ee1690121b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ee1690121b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-08-21 05:20:04 UTC
FEDORA-2026-0034926cc8 (less-704-4.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-08-22 01:12:49 UTC
FEDORA-2026-ee1690121b (less-704-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.