I did a quick strace -f and noticed that it executes /usr/bin/logname. which is the one failing under tmux.
logname then opens /var/run/utmp and fails
I did a quick strace -f and noticed that it executes /usr/bin/logname. which is the one failing under tmux.
logname then opens /var/run/utmp and fails