2.home-manager/modules/launchd
Eason20000 79e6082586 launchd: treat absent domain as harmless in bootoutAgent
When an agent's launchd.agents.<name>.domain is changed from gui to
user (or the agent is newly installed on a headless macOS system
where the gui/<UID> domain never existed), bootoutAgent attempts to
unload the agent from the old domain first. On such systems, this
fails with: Boot-out failed: 125: Domain does not support specified
action.

The bootoutAgent function only treated "No such process" as a
non-fatal condition (return 2). This change adds the domain-not-exist
error to the same handling path: the agent wasn't running in a domain
that doesn't exist, so we can safely skip the boot-out and proceed
with bootstrap into the new domain.
2026-07-10 08:22:30 -05:00
..
default.nix launchd: treat absent domain as harmless in bootoutAgent 2026-07-10 08:22:30 -05:00
launchd.nix treewide: fix spelling errors 2026-03-11 22:32:16 -05:00
types.nix treewide: nixf-diagnose cleanup 2026-01-08 16:30:04 -05:00