NousResearch/hermes-agent

macOS ppid==1 wrongly detected as systemd

Cluster 25508 · gateway. Data as of

1 open item. Fix attempted, not merged.

The short answer

0open issues
1open PR
5items grouped
Known?
Yes. 5 related items grouped here, 2 issues already closed.
Fix event
No fix has been merged to main. 2 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
0 issues and 1 PR.

Reports and fixes for a bug where checking ppid==1 incorrectly identifies the process as running under systemd on macOS, where PID 1 is launchd. Proposed fixes restrict this detection logic to Linux only.

Open issues0

No open issues.

Open PRs1

  • PR#25525fix(gateway): restrict ppid==1 systemd detection to Linux only

2 PRs closed without merging

From the close comments: closed without comment 1 · duplicate 1

  • #25511 fix: under_systemd incorrectly True on macOS (launchd PID 1, not systemd) · closed without comment
  • #25566 fix(gateway): restrict ppid==1 systemd detection to Linux only · duplicate → #25525
Closed issues · 2
  • Closed#25508Bug: shutdown_forensics incorrectly sets under_systemd=True on macOS (ppid==1 is launchd, not systemd)
  • Closed#25510shutdown_forensics incorrectly reports `under_systemd=yes` on macOS (launchd PID 1, not systemd)
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.34: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Closed issues
2
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.