Bug 2248503

Summary: uname -i don't work
Product: [Fedora] Fedora Reporter: Harald Reindl <h.reindl>
Component: coreutilsAssignee: Lukáš Zaoral <lzaoral>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: admiller, jamartis, jarod, kdudka, kzak, lzaoral, nixuser, ovasik, p, svashisht, vmihalko
Target Milestone: ---   
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: 2023-11-07 12:52:36 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 Harald Reindl 2023-11-07 12:26:29 UTC
coreutils-9.1-12.fc38.x86_64

[root@buildserver:~]$ uname -i
unknown

this is breaking scripts expecting to get x86_64

Comment 1 Lukáš Zaoral 2023-11-07 12:52:36 UTC
Please use `uname -m` for this.

The -i and -p options of uname have been documented as non-portable since 2015:
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.24-7-g6d67649

*** This bug has been marked as a duplicate of bug 2126206 ***