On Friday 2023-06-16 14:04, Thorsten Kukuk wrote:
I have a repository with, where I modified the applications to query logind instead reading /run/utmp: - systemd (utmp disabled, backports from git added) - coreutils - util-linux - procps - pam - openssh - monitoring-plugins - net-snmp
Afterwards, there should be no /run/utmp anymore. If an application still creates this file and writes into it, it does not use the glibc API and we have to fix that.
What do you think about making a FUSE-based "utmpfs" that provides just one file (a utmp representation of logind state), bind-mounted to /run/utmp.
I'm especially interested in your experience with who, w, uptime and from people, who use check_users from monitoring-plugins or read the number of users with net-snmp.
screen/xterm/tmux