# NousResearch/hermes-agent · Block user-scope systemd installs inside containers

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #112334: fix(gateway): refuse user-scope systemd install inside a container

A bug was identified where installing a gateway inside a systemd container incorrectly wrote user-scope systemd units to the bind-mounted home directory, causing the host user manager to enable them and start duplicate pollers. These members address preventing that behavior in the CLI and setup wizard.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #113086. Verify it addresses your case.
- **Recommended:** read PR #113086 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-113086`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #112323: \[Bug\]: \`hermes gateway install\` inside a systemd container writes a USER-scope unit into the bind-mounted home — the host user manager enables it too and a second poller starts

## Prior & competing PRs

- **#113086: fix(gateway): user-scope systemd install is refused inside containers, on the CLI and the setup wizard (#112323, salvage #112326, #112334)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/gateway.py`, `tests/hermes_cli/test_gateway_service.py`, `website/docs/user-guide/messaging/index.md`
- **#112326: fix(gateway): prevent host-visible user units in containers**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#112334`
- **#112334: fix(gateway): refuse user-scope systemd install inside a container**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#112326`, `#112323`
  - files: `hermes_cli/gateway.py`, `tests/hermes_cli/test_gateway_install_container_guard.py`

## Fix status

- Merged to main in PR #113086 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-16`.
- Subsystem: `hermes_cli`
