Bug 2112873

Summary: unexpand cannot process form feed [rhel-8]
Product: Red Hat Enterprise Linux 8 Reporter: Jonathan Wakely <jwakely>
Component: coreutilsAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Radka Brychtova <rskvaril>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: admiller, extras-qa, jamartis, jarodwilson, kdudka, kzak, ooprala, ovasik, p, sebastian.kisela, svashisht
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: coreutils-8.30-14.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2112870
: 2112985 (view as bug list) Environment:
Last Closed: 2023-05-16 09:03:35 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:
Bug Depends On: 2112985    
Bug Blocks:    

Description Jonathan Wakely 2022-08-01 11:30:07 UTC
+++ This bug was initially created as a clone of Bug #2112870 +++

Description of problem:

$ printf '\f'  | unexpand 
unexpand: input line is too long


Version-Release number of selected component (if applicable):

coreutils-8.30-12.el8.x86_64


How reproducible:

Always


Steps to Reproduce:
1. printf '\f'  | unexpand 

Actual results:

unexpand: input line is too long

Expected results:

No error.

Additional info:

This seems to be a Fedora/RHEL bug, because it works fine on Ubuntu and Debian, and works fine on  BSD, Solaris and AIX.

Working versions

coreutils-8.22-24.el7_9.2.x86_64 (CentOS 7)
8.26-3 (Debian 9.13 stretch)
8.28-1ubuntu1 (Ubuntu 18.04)
8.32-4.1ubuntu1 (Ubuntu 22.04)
8.32-4.1 (Debian unstable sid)
9.1.43-ab976f (self-built from coreutils Git repo)

Not working versions:

coreutils-8.30-12.el8.x86_64 (CentOS 8.6)
coreutils-8.30-13.el8.x86_64 (CentOS 8 stream)
coreutils-9.0-5.fc36.x86_64 (Fedora 36)

--- Additional comment from Jonathan Wakely on 2022-08-01 11:25:50 UTC ---

Also broken:

coreutils-9.1-3.fc37.x86_64
coreutils-8.32-32.fc34.x86_64
coreutils-8.32-33.fc35.x86_64
coreutils-8.32-32.el9.x86_64


Using LANG=C doesn't change anything.

Comment 9 errata-xmlrpc 2023-05-16 09:03:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (coreutils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2960