Add fsnotify trigger on utmp file, so that we can immediately send rwhod updates on login/logout #27

Closed
opened 2026-01-06 07:47:21 +01:00 by oysteikt · 3 comments
Owner
No description provided.
oysteikt added the feature request label 2026-01-06 07:47:21 +01:00
Author
Owner

systemd-logind seems to provide dbus signals that we could listen to instead: https://www.man7.org/linux/man-pages/man5/org.freedesktop.login1.5.html

systemd-logind seems to provide dbus signals that we could listen to instead: https://www.man7.org/linux/man-pages/man5/org.freedesktop.login1.5.html
Author
Owner
We can get the file path here: https://docs.rs/uucore/latest/uucore/utmpx/static.DEFAULT_FILE.html
oysteikt added the rwho/ruptime label 2026-07-20 10:46:07 +02:00
Author
Owner

Went with a different solution, listening to audit logs

Went with a different solution, listening to audit logs
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Projects/roowho2#27