tmux sessions don't show up with who, users, ...

Bug #1890406 reported by LTD Admin on 2020-08-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tmux (Ubuntu)

Bug Description

I have recently - I am pretty sure it is since the 20.04 upgrade (coming from 18.04) - experienced the problem that (detached) tmux sessions don't show up anymore in the output of commands such as `who -u` or `users`.
Since I have a cron job for shutting down hosts where no users are logged in,
I am constantly kicking out people now who have running jobs in detached tmux sessions.
We would be very happy if this could be fixed.

Paride Legovini (paride) wrote :

Hello and thanks for this bug report. I am able to reproduce the issue, which interestingly is not present in Groovy. I installed tmux 3.1b-1 from Groovy on a Focal system and it *does* set the utmp entries, so something must have changed between tmux 3.0a-2 and 3.1b-1. I had a look at the Ubuntu (= Debian) changelog and at the upstream commit history. Focal tmux (3.0a-2) correctly detected the utempter library [1]:

checking utempter.h usability... yes
checking utempter.h presence... yes
checking for utempter.h... yes
checking for library containing utempter_add_record... -lutempter

so that's not the issue. I'm marking this as Triaged for Focal and Fix Released for Groovy, but in order to push this forward we must identify the root cause of the issue, then we'll be able to evaluate the possibility of a SRU.

Debian doesn't not ship tmux 3.0a-2 anymore, so I don't think it's worth filing a bug in Debian even if tmux is a sync.


no longer affects: tmux (Ubuntu Groovy)
Changed in tmux (Ubuntu):
status: New → Fix Released
Changed in tmux (Ubuntu Focal):
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers