#1112071 munin-plugins-core: user plugin regressed in trixie

#1112071#5
Date:
2025-08-25 20:37:23 UTC
From:
To:
Dear Maintainer,

The /usr/share/munin/plugins/users no longer understands the output of
`who` in trixie. It was unable to parse that my current login is via
pts.

root@dgilman:/etc/munin/plugins# ./users
tty.value 0
pty.value 0
pts.value 0
X.value 0
other.value 1

root@dgilman:/etc/munin/plugins# ls -alh users
lrwxrwxrwx 1 root root 30 Feb 26  2014 users -> /usr/share/munin/plugins/users

root@dgilman:/etc/munin/plugins# who
david    sshd pts/0   2025-08-25 16:19 (666.777.888.999)

#1112071#10
Date:
2025-08-25 21:29:30 UTC
From:
To:
This seems related to this regression in coreutils. I haven't tested out
the coreutils patch but it seems like the same root cause: the login entry
now starts with "sshd" which throws off the munin plugin regex.

https://github.com/coreutils/coreutils/commit/24450e5eecf012bc1ea8cab8d677a45fa42c1778

#1112071#15
Date:
2025-08-31 08:33:21 UTC
From:
To:
Hi

I patched the users-plugin this way and it works again:

File /usr/share/munin/plugins/users
Line 96-97:

foreach (<WHO>) {
    (undef,undef,$_,undef) = split /[\/ ]+/;

I just added another "undef" ...


Jochen