Bug 2248503 - uname -i don't work
Summary: uname -i don't work
Keywords:
Status: CLOSED DUPLICATE of bug 2126206
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukáš Zaoral
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-07 12:26 UTC by Harald Reindl
Modified: 2023-11-07 12:52 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-07 12:52:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.