Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-74146

uname flags '--hardware-platform' and '--processor' produce 'unknown' output

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • rhel-10.0
    • rhel-10.0.beta
    • coreutils
    • None
    • No
    • Moderate
    • rhel-base-utils-core
    • ssg_core_services
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Known Issue
    • Hide
      .`pass:uname` command produces an unknown output

      The uname command displays unknown output with flags `pass:--hardware-platform` and `pass:--processor`. In the previous RHEL versions, `pass:uname -i` and `pass:uname -p` were aliases for `pass:uname -m` and are not portable even across GNU/Linux distributions.

      As a workaround, you can use the `pass:-m` flag instead of the `pass:-i` and `pass:-p` flags.
      Show
      .`pass:uname` command produces an unknown output The uname command displays unknown output with flags `pass:--hardware-platform` and `pass:--processor`. In the previous RHEL versions, `pass:uname -i` and `pass:uname -p` were aliases for `pass:uname -m` and are not portable even across GNU/Linux distributions. As a workaround, you can use the `pass:-m` flag instead of the `pass:-i` and `pass:-p` flags.
    • Done
    • x86_64
    • None

      What were you trying to do that didn't work?

      On an x86_64 system the uname commands below print 'unknown' to stdout. However, the '-m' flag will print 'x86_64'

      $ uname -i
      unknown
      $ uname -p
      unknown$ uname -m
      x86_64

      What is the impact of this issue to you? Tools that rely on the output will not work.

      How reproducible is this bug?: Easy to reproduce

      Steps to reproduce

      1. Install RHEL 10 beta from x86_64 DVD iso
      2. Coreutils package version: coreutils-9.5-5.el10.x86_64

      Expected results

      $ uname -ip
      x86_64 x86_64

      Actual results

      $ uname -ip
      unknown unknown

              rh-ee-lzaoral Lukáš Zaoral
              sam.sutton2@netapp.com Sam Sutton (Inactive)
              NetApp Confidential Group
              Lukáš Zaoral Lukáš Zaoral
              Radka Brychtova Radka Brychtova
              Mugdha Soni Mugdha Soni
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: