Package: procps
Version: 2:4.0.4-8
Followup-For: Bug #1068904
X-Debbugs-Cc: alexandre.ferri...@orange.com

Dear Maintainer,

I do confirm "w" is still broken in a way that is related to systemd, though 
not exactly in the same way as initially mentioned here.

I am on a fully upgraded trixie, with procps 2:4.0.4-8.
Specifically, on this machine I am NOT using systemd, but sysvinit.
In such a setup, "w" has been working okay for decades, up to and including 
Bookworm-backports.

But here in trixie:

   14:00:40 up 19:48,  4 users,  load average: 0.00, 0.00, 0.98
  USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU  WHAT
  w: error getting sessions: Operation not permitted

And strace shows that this error is the result of the absence of 
/run/systemd/system

     faccessat2(AT_FDCWD, "/run/systemd/system/", F_OK, AT_SYMLINK_NOFOLLOW) = 
-1 ENOENT (No such file or directory)
     write(2, "w: ", 3) = 3
     write(2, "error getting sessions", 22) = 22

As a consequence, "w" now is unusable on non-systemd hosts.

Thanks in advance for considering this,

Best regards,

-Alex



-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.32-amd64 (SMP w/36 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages procps depends on:
ii  init-system-helpers  1.68
ii  libc6                2.41-8
ii  libncursesw6         6.5+20250216-2
ii  libproc2-0           2:4.0.4-8
ii  libsystemd0          257.6-1
ii  libtinfo6            6.5+20250216-2

Versions of packages procps recommends:
pn  linux-sysctl-defaults  <none>
ii  psmisc                 23.7-2

procps suggests no packages.

-- no debconf information
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

Reply via email to