2.home-manager/tests
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
..
integration tests: fix integration tests 2026-06-20 00:05:51 +02:00
lib lib: escape backslash in lib.hm.generators.toKDL 2026-06-30 23:49:47 -05:00
modules launchd: treat absent domain as harmless in bootoutAgent 2026-07-10 08:22:30 -05:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix herdr: add module 2026-06-30 12:14:44 -05:00
default.nix misc: move modules spanning multiple files into subdirs 2026-06-19 08:59:16 -05:00
package.nix tests: support override-inputs in test runner 2026-04-24 13:06:58 -05:00
stubs.nix tests: split stub derivation attrs from methods 2026-04-23 18:12:20 -05:00
tests.py treefmt: format Python with ruff 2026-06-19 10:00:25 -05:00