Notifications when systemd units fail
As a distro developer who runs the development branch of our distro, I like to run systemctl --failed
every so often. I have found many bugs before release in this way.
Instead, I would like to be shown a notification when a unit fails (either on the system or the user instance of systemd). Activating the notification would show me something similar to systemctl status UNIT
: the last few journal lines for that unit, and ideally the other metadata about the unit's state.
(Of course most humans do not want to be notified whenever a unit fails, so this should be opt-in.)