[Bug 2131703] Re: `who` command is broken in both gnu-coreutils and rust-coreutils

Julian Andres Klode 2131703 at bugs.launchpad.net
Tue Dec 2 10:14:27 UTC 2025


The rust-coreutils bug is tracked in 2117771; re-using this for the
AppArmor issue with gnuwho.

** No longer affects: rust-coreutils (Ubuntu)

** Summary changed:

- `who` command is broken in both gnu-coreutils and rust-coreutils
+ `gnuwho` command is broken in gnu-coreutils

** Also affects: apparmor (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/2131703

Title:
  `gnuwho` command is broken in gnu-coreutils

Status in apparmor package in Ubuntu:
  New
Status in coreutils package in Ubuntu:
  Confirmed

Bug description:
  Command "who" displays the list of users with open interactive
  sessions on the host:

  Ubuntu 24.04.3 LTS:
  $ who
  crosser  pts/0        2025-11-17 22:10 (2a02:8106:1:6801:e2a5:4c6b:50c8:c67f)

  Raspbian GNU/Linux 12 (bookworm):
  $ who
  crosser  pts/0        668814970213820297 (172.27.72.9)
  crosser  pts/1        668814970212950818 (172.27.72.9)

  Armbian Debian stable (trixie):
  $ who
  crosser  sshd pts/0   2025-11-17 22:13 (172.27.72.9)

  However on questing, "who" displays nothing.

  Questing and trixie do not have utmp file, but both have systemd
  libraries and should be build with enabled READUTMP_USE_SYSTEMD. It
  appears to be working fine on trixie. But it appears to not be working
  on questing. I verified that a simple C program that calls
  `sd_get_sessions()` and enumerates the result does get all correct
  information about logged in users.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: rust-coreutils 0.2.2-0ubuntu2.1
  ProcVersionSignature: Ubuntu 6.17.0-6.6-generic 6.17.1
  Uname: Linux 6.17.0-6-generic x86_64
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Nov 17 22:08:47 2025
  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/apparmor/+bug/2131703/+subscriptions




More information about the foundations-bugs mailing list