The message "A stop job is running for Accounts Service" means that systemd—the init system and service manager used by most modern Linux distributions—is waiting for a service unit named Accounts Service to finish shutting down, and the shutdown or reboot is blocked until that job completes or times out. The message appears on the shutdown screen, usually with a timer counting up, and it typically reflects a service that is not responding promptly to a stop request rather than a problem with the shutdown command itself. The name in the message confirms the culprit is Accounts Service (the accounts-daemon, part of the accountsservice package, which manages user account information for the desktop), but the underlying cause can range from a hung process and a D-Bus interaction to a slow disk or an unrelated dependency.

Reading the message correctly

The wording matters. systemd displays a "stop job" for a unit when it has asked that unit to stop and the unit has not yet reported that it has finished. The service is not necessarily frozen in the sense of a crashed program; it may be completing cleanup, waiting on a lock, or waiting for another process to release a resource. The timer is systemd's patience running out, not a countdown to data loss.

This distinction separates two common interpretations of the phrase. If you saw the message during a normal shutdown and it disappeared after a short delay, nothing is wrong: systemd waited briefly, the service exited, and the machine powered off. If the message persists, the timer climbs, and the shutdown eventually completes only after a long delay or a forced power-off, then a stop job is genuinely stuck and worth investigating. The first sentence of this article answers the direct question; the rest of the article explains why the job gets stuck and what to do about it.

A related message, "A stop job is running for User Manager for UID 1000" (or another UID), is often confused with the Accounts Service message. The User Manager is the per-user systemd instance ([email protected]), not accounts-daemon. Both can appear during shutdown, and both usually indicate that user-session processes are slow to terminate. If your message explicitly names Accounts Service, focus on accounts-daemon; if it names a User Manager, the fix is usually about lingering user processes, not about accountsservice at all.

What Accounts Service is and why it participates in shutdown

Accounts Service is a small system daemon that exposes user account information—display names, icons, session settings, and related metadata—over D-Bus. Desktop environments such as GNOME and its relatives use it to populate the login screen, the user menu, and account settings without giving every application direct access to /etc/passwd and related files. It is a system service (accounts-daemon.service), typically started early and stopped late in the boot and shutdown sequence.

Because the daemon holds a D-Bus name and may be in the middle of serving requests when shutdown begins, systemd's stop job for it is a normal part of an orderly shutdown. In a healthy system, accounts-daemon receives the stop signal, closes its D-Bus connection, and exits within a second or two. The message becomes visible only when that does not happen quickly, either because the daemon itself is blocked or because something it depends on—a bus connection, a filesystem, a mount, or another unit ordered before it—is slow to release.

Why the stop job gets stuck

Several mechanisms produce a stuck stop job, and the visible message rarely identifies which one applies. The most common causes are:

A hung or unresponsive daemon. The process has received SIGTERM but is blocked in a system call, waiting on a lock, or ignoring the signal. systemd then waits for its configured timeout before sending SIGKILL. A dependency or ordering problem. The unit may be ordered after another unit that is itself slow to stop, so the Accounts Service job cannot complete until that unit does. The message names Accounts Service because that is the job systemd is currently tracking, not necessarily the root cause. D-Bus or session interaction. accounts-daemon communicates over the system bus. If the bus or a related service is shutting down in an order that leaves the daemon waiting, the stop can stall. This is more likely on systems where desktop session services and system services are being torn down in an awkward sequence. Filesystem or storage delays. A slow or unresponsive disk, a network mount, or a failing drive can make any daemon that touches account or home-directory data slow to exit. The daemon is not at fault; the storage is. A configuration or package problem. A corrupted unit file, a locally modified service override, or a half-configured package update can change how the daemon stops and produce repeated long waits.

The practical implication is that "fixing Accounts Service" is not always the right move. Sometimes the correct fix is to shorten the wait, sometimes to repair the unit, and sometimes to address the underlying resource or dependency.

The timeout, and why the delay is bounded

systemd does not wait forever. Each unit has a stop timeout, and when it expires systemd escalates from a polite termination request to a forced kill. The visible timer on the shutdown screen is counting toward that escalation. Defaults vary by distribution and unit, but the pattern is consistent: systemd sends SIGTERM, waits for the unit's TimeoutStopSec, then sends SIGKILL to the remaining processes if the unit still has not stopped.

This is why the message often resolves itself. A daemon that ignores SIGTERM but cannot ignore SIGKILL will die when the timeout expires, and shutdown proceeds. The cost is the delay, not permanent failure. A system that shows this message for a few seconds on every shutdown is annoying but not broken; a system that shows it for the full timeout on every shutdown has a reproducible stop problem worth fixing.

You can inspect and adjust the timeout on a running system rather than guessing. Check the unit's effective settings with systemctl show accounts-daemon.service -p TimeoutStopUSec (or TimeoutStopSec on older systemd versions), and check whether a local override exists under /etc/systemd/system/accounts-daemon.service.d/. An override that shortens the timeout is a legitimate remedy for a daemon that is slow but harmless; it is not a remedy for a daemon that is corrupt or for a storage problem.

Diagnosing the actual stall

Before changing anything, confirm that Accounts Service is really the stuck unit and find out what it is waiting on. A short diagnostic sequence narrows the cause:

1: Reproduce and observe. Trigger a shutdown or reboot and note whether the message appears every time or intermittently, and how long the timer runs. Intermittent stalls point to timing or load; consistent stalls point to configuration or a failing component. 2: Check the unit's state and logs. From a terminal before shutting down, run systemctl status accounts-daemon.service to see whether the daemon is active, and use journalctl -u accounts-daemon.service -b -1 after the fact to read the previous boot's log for that unit. Look for messages about timeouts, D-Bus errors, or crashes. 3: Look at ordering and dependencies. systemctl list-dependencies accounts-daemon.service shows what the unit depends on. If the stall consistently coincides with another slow unit, the message may be a symptom of that unit's delay rather than the daemon's own behavior. 4: Check storage health. A slow or failing disk is a common and easily overlooked cause. Look for I/O errors in the kernel log (journalctl -k -b -1) and check the drive's health with the appropriate tool for its type. If the disk is failing, no service-level change will fix the underlying problem. 5: Check for local modifications. Compare the packaged unit with any overrides in /etc/systemd/system/. A drop-in that adds an ordering constraint, changes the kill mode, or points the daemon at a different configuration can change shutdown behavior.

This sequence keeps you from masking a real fault. Shortening the timeout on a healthy but slow daemon is reasonable; shortening it on a daemon that is stuck because the disk is dying hides the warning sign.

Practical remedies, from least to most invasive

Do nothing if the delay is short and occasional. A brief stop job that resolves within a few seconds is normal systemd behavior and does not require intervention. Many users first notice the message after a kernel or desktop update changed timing slightly; it often settles on its own.

Shorten the stop timeout for the unit. If the daemon is known to be slow to exit but otherwise healthy, a drop-in override with a shorter TimeoutStopSec reduces the visible delay. This is a targeted change, not a global one, and should be documented so a future administrator knows why it exists.

Restart or reinstall the service cleanly. If the daemon's configuration or package state is suspect, reinstalling the accountsservice package from the distribution's repositories and restarting the service restores the packaged unit and default settings. This addresses corruption and half-finished updates.

Investigate and repair the dependency or storage problem. When the diagnostic steps point to a slow mount, a failing drive, or another unit that must stop first, fix that root cause. This is more work than changing a timeout, but it addresses why the job is stuck rather than how long systemd waits for it.

Use a forced shutdown only as a last resort. If a shutdown is genuinely wedged and the machine must be powered off, holding the power button is the fallback. It should not become the routine method, because repeated forced power-offs risk filesystem damage and do not fix the cause. If the system only shuts down cleanly with a forced power-off, that is a signal to investigate further, not a solution.

Several shutdown messages look similar but implicate different components, and confusing them leads to the wrong fix. "A stop job is running for User Manager for UID 1000" concerns the per-user systemd instance and usually reflects user-session processes that will not exit; the usual remedies involve closing applications, checking for background user services, and, on servers, enabling or disabling lingering deliberately. "A stop job is running for Session c2" or similar session messages concern login sessions. A generic "A stop job is running for ..." naming a specific daemon points at that daemon. The Accounts Service message specifically implicates accounts-daemon, and the diagnostic path should start there rather than with the session manager.

It is also worth distinguishing a stop job from a start job or a hold job. A start job can stall during boot when a unit waits for a device or network resource; a stop job stalls during shutdown. The direction matters for diagnosis: start-job stalls usually involve hardware or network dependencies, while stop-job stalls usually involve processes that will not exit or resources that will not release. The phrase "a stop job is running" places the problem in the shutdown sequence, which is why the remedies above focus on termination behavior, ordering, and storage rather than on boot-time device detection.

When the message is harmless and when it is not

The message is harmless in the common case: a single appearance during shutdown, resolving within seconds, on a machine that otherwise behaves normally. It is a warning sign when it appears on every shutdown with a long timer, when it coincides with other symptoms such as slow boots, application freezes, or disk errors, or when it is accompanied by kernel messages about I/O or filesystem problems. In those cases the message is a visible symptom of a real fault—often storage or a misconfigured unit—and treating it as a mere cosmetic annoyance misses the point.

For most readers the practical answer is therefore layered: the message means systemd is waiting for Accounts Service to finish stopping; a brief wait is normal; a persistent wait points to a hung daemon, a dependency, or a storage problem; and the right response depends on which of those the diagnostics reveal. Changing the timeout is a valid adjustment for a healthy but slow daemon, but it should follow diagnosis, not replace it. The message is systemd telling you what it is waiting for, and the useful work is finding out why the wait is long.