Clear Failed Unit State with systemctl reset-failed
systemctl reset-failed forgets units stuck in the 'failed' state so they no longer clutter status output and monitoring.
01Command
$ sudo systemctl reset-failed02What it does
Once a unit fails, systemd keeps recording its failed state until it is restarted or reset, so `systemctl` keeps listing it even after you fixed the cause. `reset-failed` clears that recorded state; with no arguments it resets all failed units at once. This is commonly needed before reloads of monitoring configs, or to silence alerts from one-shot units that exit non-zero.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- systemctl(1) - Control the systemd system and service managerEvidence: reset-failed [PATTERN...]: Reset the failed state of the specified units; when no argument is given, reset all units with a failed state.
Last verified: 2026-09-17 · Category: System & Settings
06Related solutions
systemctl cat reveals a service's unit file plus every drop-in override; systemctl edit creates overrides without touching vendor files.
systemd runs a per-user service manager: units in ~/.config/systemd/user/ can start at login without sudo.
One command that prints every interface with its state and IPv4/IPv6 addresses in a short table — the modern, memorable replacement for digging through `ifconfig` or the verbose `ip addr` output.