Bug 2343891

Summary: nfdump -O not working as expected
Product: [Fedora] Fedora Reporter: lazarevic.david
Component: nfdumpAssignee: Denis Fateyev <denis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 41CC: denis, lazarevic.david
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: nfdump-1.7.6-1.fc42 nfdump-1.7.6-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-06 01:44:04 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:

Description lazarevic.david 2025-02-05 09:29:16 UTC
Trying to sort an nfcapd file while using the -O option results in failure.

This can be fixed by downgrading to the version 1.73.3.

For example:

# nfdump -R nfdump/ -O obyte > nfdump/test

Results in:

Unknown print order 'obyte'

Reproducible: Always

Steps to Reproduce:
1. Try to sort one or multiple nfcapd files by using the -O option with a parameter 
Actual Results:  
Error message:

Unknown print order 'obyte'

Expected Results:  
Order the flows by the out bytes.

Can be fixed by downgrading the nfdump package to the version 1.73.3.

Edit: This issue was fixed in the latest commit of nfdump: https://github.com/phaag/nfdump/issues/599 along with another issue related to ip lists: https://github.com/phaag/nfdump/issues/600

Comment 1 Fedora Update System 2025-05-28 23:18:52 UTC
FEDORA-2025-c92ff55526 (nfdump-1.7.6-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c92ff55526

Comment 2 Fedora Update System 2025-05-28 23:18:53 UTC
FEDORA-2025-4c2c83dddf (nfdump-1.7.6-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4c2c83dddf

Comment 3 Fedora Update System 2025-05-29 01:18:57 UTC
FEDORA-2025-4c2c83dddf has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4c2c83dddf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4c2c83dddf

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

Comment 4 Fedora Update System 2025-05-29 01:50:06 UTC
FEDORA-2025-c92ff55526 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c92ff55526`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c92ff55526

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

Comment 5 Fedora Update System 2025-06-06 01:44:04 UTC
FEDORA-2025-4c2c83dddf (nfdump-1.7.6-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2025-06-06 02:07:19 UTC
FEDORA-2025-c92ff55526 (nfdump-1.7.6-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.