Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2236321

Summary: coreutils-9.4 reverts an undesirable change to the -v option that landed in coreutils-9.3
Product: [Fedora] Fedora Reporter: Ian Laurie <nixuser>
Component: coreutilsAssignee: Lukáš Zaoral <lzaoral>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: admiller, fzatlouk, jamartis, jarod, kdudka, kparal, kzak, lzaoral, ovasik, p, svashisht, vmihalko
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: https://pagure.io/fedora-qa/blocker-review/issue/1239 AcceptedFreezeException
Fixed In Version: coreutils-9.3-3.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-05 12:41:28 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: 2143445    

Description Ian Laurie 2023-08-30 21:47:26 UTC
coreutils-9.3 brought changes to the behavior of the -v option which broke some of my automation scripts.  I am unlikely to be the only one negatively impacted by this change.

Because of this I have been blocking updates to coreutils in Rawhide and Fedora 39. and I'm running coreutils-9.2-4.fc39.x86_64.

This change in the -v option has been reverted in 9.4 (released 2023-08-29).  From [1]:

** Changes in behavior

  'cp -v' and 'mv -v' will no longer output a message for each file skipped
  due to -i, or -u.  Instead they only output this information with --debug.
  I.e., 'cp -u -v' etc. will have the same verbosity as before
  coreutils-9.3.

Understanding it would be risky pushing 9.4 into Fedora 39 at this late stage, would it be possible to backport just the patch that fixes this issue?

I am going to propose this as a freeze exception for the 39 beta.

[1] https://github.com/coreutils/coreutils/blob/master/NEWS


Reproducible: Always

Comment 1 Fedora Blocker Bugs Application 2023-08-30 21:54:29 UTC
Proposed as a Freeze Exception for 39-beta by Fedora user nixuser using the blocker tracking app because:

 Undesirable verbosity was introduced for the -v option in coreutils-9.3 on the cp command that means in copy operations used on large hierarchies where only newer files are copied, a very large amount of output is produced, such that the trail of what was actually copied is lost in the mess of messages about what was not copied.  This new verbosity was moved to a debug option in coreutils-9.4 and the -v option works as per 9.2 and earlier.  I am proposing to backport the fix for this from 9.4 to the 9.3 in Fedora in time for release.

Comment 2 Lukáš Zaoral 2023-08-31 07:42:44 UTC
Pagure PR: https://src.fedoraproject.org/rpms/coreutils/pull-request/12

Comment 3 Ian Laurie 2023-08-31 09:28:32 UTC
Thanks, your scratch build works.

Comment 4 Fedora Update System 2023-08-31 12:13:55 UTC
FEDORA-2023-b9f3783bf2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b9f3783bf2

Comment 5 Fedora Update System 2023-09-01 01:46:15 UTC
FEDORA-2023-b9f3783bf2 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b9f3783bf2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b9f3783bf2

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

Comment 6 Kamil Páral 2023-09-01 08:30:24 UTC
Freeze Exception discussion ticket: https://pagure.io/fedora-qa/blocker-review/issue/1239

Comment 7 František Zatloukal 2023-09-04 18:06:07 UTC
Discussed during the 2023-09-04 blocker review meeting: [1]

The decision to classify this bug as a AcceptedFreezeException (Beta) was made:

"The benefit here isn't huge (getting the new/old behaviour during live sessions and at first boot, not just on first update) but the risk is also small and we're feeling generous, so...fine."

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2023-09-04/f39-blocker-review.2023-09-04-16.00.log.txt

Comment 8 Fedora Update System 2023-09-05 12:41:28 UTC
FEDORA-2023-b9f3783bf2 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.