You are not logged in.
I am running an Arch server that users log into via ssh or mosh. Until recently, I could always see who was logged in with the 'w' command, or see who was recently logged in with the 'last' command. These commands rely on the utmp and wtmp files, respectively. However, sometime in the past month, mosh users stopped appearing in the output of these commands. So any user logged in via mosh doesn't appear online. Users logged in via ssh still appear in both 'w' and 'last' output.
I asked on the IRC channel for mosh and the folks there said nothing has changed with mosh.
I have restarted the server, made sure mosh is updated, and I do regular pacman -Syu's.
Am I missing an obvious cause of this problem? Or what else can I do to diagnose and solve it?
Offline
Can you report a bug against arch libutempter package please?
utempter: relax host argument validation
Mosh (a mobile shell) has beenusing spaces in its utmp entries (created through libutempter) since its
early releases in 2012, and some tools rely on it to check whether the
mosh-server currently has a client attached.With this change, host argument is allowed to contain spaces
On platforms with utempter, mosh-server maintains an entry in the utmp(5) file
Last edited by sabroad (2020-07-06 10:33:00)
--
saint_abroad
Offline
Can you report a bug against arch libutempter package please?
Done. Thanks for your help identifying the issue.
Offline