-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
who command displays a large number instead of login date+time #318
Comments
How strange. I've just tried this on multiple Pis, and the output always looks correct, e.g.
Is your system up to date with APT? Do you continue to see this odd behaviour after rebooting your Pi? |
The odd behaviour is only on my Raspi Zero W running 32-Bit Raspi-OS. On my Raspberry Pi 3 Model B Plus Rev 1.3 running 64-Bit-OS (kernel 6.6.51+rpt-rpi-v8 aarch64) the output is as expected. |
Thanks for the additional info! I can confirm that I also see strange date values in the
I tried investigating it a bit, and
And so I suspect that this might be because of https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64937 As this is an upstream Debian bug, I suspect your only course of action is to wait for the upstream 32-bit Debian fixes to trickle down into 32-bit Raspberry Pi OS. But I'll leave this bug open for a little while in case @spl237 or @XECDesign or @pelwell have any ideas / suggestions. |
Thanks for your information. As I understand the gnu bug report you related to, utmp will be replaced by a systemd interface in order to become y2038 compatible. |
who am i
pi pts/1 3891110120997922972 (10.0.0.54)
expected output
pi pts/1 2024-11-09 21:38 (10.0.0.54)
Raspbian GNU/Linux 12 (bookworm)
kernel version
Linux hostname 6.6.51+rpt-rpi-v6 #1 Raspbian 1:6.6.51-1+rpt3 (2024-10-08) armv6l GNU/Linux
coreutils 9.1-1 armhf GNU core utilities
See also
https://unix.stackexchange.com/questions/773180/debian-bookworm-on-rpi-4-who-command-displays-a-large-number-instead-of-login
The text was updated successfully, but these errors were encountered: