Your message dated Mon, 8 Dec 2025 18:47:07 +1100
with message-id
<CALy8Cw7hiQmy5B99QhpKrviWO9Yyc9OSv+UASPKEyB=+zom...@mail.gmail.com>
and subject line Re: procps: w -i does not show enought parts of an IPv6 address
has caused the Debian Bug report #913882,
regarding procps: w -i does not show enought parts of an IPv6 address
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
913882: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913882
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 2:3.3.12-3+deb9u1
Severity: normal
Tags: ipv6
Dear Maintainer,
w -i does not report enough characters to display a full IPv6 address .
no direct way other than setting PROCPS_FROMLEN=40 on the environment,
but this change defaults. (after reporting i realized also that affect the
text mode ... never noticed since my other machine has a FQDN of only 10
characters)
* What led up to the situation?
w -i
* What exactly did you do (or not do) that was effective (or
ineffective)?
w -i
* What was the outcome of this action?
leo@we:~$ w -i
10:17:31 up 177 days, 18:46, 1 user, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
leo pts/0 2001:760:2c05:10 08:13 0.00s 0.00s 0.00s w -i
* What outcome did you expect instead?
leo@we:~$ w -i -w40
10:17:31 up 177 days, 18:46, 1 user, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU
PCPU WHAT
leo pts/0 2001:0760:2c05:1000:abbc:ccdd:eeee:01fa 08:13 0.00s 0.00s
0.00s w -i
-- System Information:
Debian Release: 9.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages procps depends on:
ii init-system-helpers 1.48
ii libc6 2.24-11+deb9u3
ii libncurses5 6.0+20161126-1+deb9u2
ii libncursesw5 6.0+20161126-1+deb9u2
ii libprocps6 2:3.3.12-3+deb9u1
ii libtinfo5 6.0+20161126-1+deb9u2
ii lsb-base 9.20161125
Versions of packages procps recommends:
ii psmisc 22.21-2.1+b2
procps suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
> no direct way other than setting PROCPS_FROMLEN=40 on the environment
That's the only way, as anything else means everyone gets very wide from
columns or it gets staggered.
I suppose it could have the entire user rows scanned, detect its an IPv6
address (which is not easy, especially with systemd hosts) then notice one
row is IPv6, adjust the column width THEN run the entire loop again and
print the rows.
- Craig
--- End Message ---