[Bug 2123853] Re: uname -p / -i flag are not supported in rust-coreutils

Dave Jones 2123853 at bugs.launchpad.net
Tue Sep 23 12:04:44 UTC 2025


*** This bug is a duplicate of bug 2122648 ***
    https://bugs.launchpad.net/bugs/2122648

Looks like a duplicate of 2122648 (which also has a link to the upstream
bug)

** This bug has been marked a duplicate of bug 2122648
   uname -p broken

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2123853

Title:
  uname -p / -i flag are not supported in rust-coreutils

Status in rust-coreutils package in Ubuntu:
  New
Status in rust-coreutils source package in Questing:
  New

Bug description:
  Hello,
  When commencing SRU test on Questing RPI daily image we noticed that the "uname" has been converted to rust-coreutils:

  ubuntu at ubuntu:~$ uname --version
  uname (uutils coreutils) 0.1.0
  ubuntu at ubuntu:~$ dpkg -S uname
  coreutils-from-uutils: /usr/bin/uname
  coreutils-from-uutils: /usr/share/man/man1/uname.1.gz
  rust-coreutils: /usr/lib/cargo/bin/coreutils/uname
  rust-coreutils: /usr/share/man/man1/rust-uname.1.gz
  klibc-utils: /usr/lib/klibc/bin/uname
  rust-coreutils: /usr/share/bash-completion/completions/rust-uname
  rust-coreutils: /usr/share/locales/uname
  gnu-coreutils: /usr/share/man/man1/gnuuname.1.gz
  gnu-coreutils: /usr/bin/gnuuname
  rust-coreutils: /usr/share/fish/vendor_completions.d/rust-uname.fish
  rust-coreutils: /usr/share/zsh/site-functions/rust-coreutils/_rust-uname
  rust-coreutils: /usr/share/locales/uname/fr-FR.ftl
  ubuntu at ubuntu:~$ ll /usr/bin/uname
  lrwxrwxrwx 1 root root 32 Sep  9 16:40 /usr/bin/uname@ -> ../lib/cargo/bin/coreutils/uname

  However the "-p" and the "-i" flag is not available any more:

  ubuntu at ubuntu:~$ uname -p
  unknown
  ubuntu at ubuntu:~$ uname -i
  unknown
  ubuntu at ubuntu:~$ uname --help
  Print certain system information.
  With no OPTION, same as -s.

  Usage: uname [OPTION]...

  Options:
    -a, --all               Behave as though all of the options -mnrsvo were specified.
    -s, --kernel-name       print the kernel name.
    -n, --nodename          print the nodename (the nodename may be a name that the system is known by to a communications
                            network).
    -r, --kernel-release    print the operating system release.
    -v, --kernel-version    print the operating system version.
    -m, --machine           print the machine hardware name.
    -o, --operating-system  print the operating system name.
    -h, --help              Print help
    -V, --version           Print version

  I am wondering if this is expected? As these two flags are marked as
  "non-portable" in uname (GNU coreutils) 9.5

  Below is the `uname --help` output with uname (GNU coreutils) 9.5
  $ uname --help
  Usage: uname [OPTION]...
  Print certain system information.  With no OPTION, same as -s.

    -a, --all                print all information, in the following order,
                               except omit -p and -i if unknown:
    -s, --kernel-name        print the kernel name
    -n, --nodename           print the network node hostname
    -r, --kernel-release     print the kernel release
    -v, --kernel-version     print the kernel version
    -m, --machine            print the machine hardware name
    -p, --processor          print the processor type (non-portable)
    -i, --hardware-platform  print the hardware platform (non-portable)
    -o, --operating-system   print the operating system
        --help        display this help and exit
        --version     output version information and exit

  GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
  Report any translation bugs to <https://translationproject.org/team/>
  Full documentation <https://www.gnu.org/software/coreutils/uname>
  or available locally via: info '(coreutils) uname invocation'

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: rust-coreutils 0.1.0+git20250813.4af2a84-0ubuntu7
  ProcVersionSignature: User Name 6.14.0-1005.5-raspi 6.14.0
  Uname: Linux 6.14.0-1005-raspi aarch64
  ApportVersion: 2.33.1-0ubuntu2
  Architecture: arm64
  CasperMD5CheckResult: unknown
  CloudArchitecture: aarch64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud-net)
  Date: Mon Sep 15 15:01:15 2025
  ImageMediaBuild: 20250912
  SourcePackage: rust-coreutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2123853/+subscriptions




More information about the foundations-bugs mailing list