# fix\(desktop\): find the fcntl probe from a Dock launch, and count hostname-resolved addresses as local · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/92bfdf8804c5e2c6da756af0190e7f854bb7593a)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 92bfdf8804c5e2c6da756af0190e7f854bb7593a

Requested commit: 92bfdf8804c5e2c6da756af0190e7f854bb7593a

Commit: 92bfdf8804c5e2c6da756af0190e7f854bb7593a

Tree: 39964d6a407eb10e7244e1854b00f6825a5920fd

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(desktop): find the fcntl probe from a Dock launch, and count hostname-resolved addresses as local

Two follow-ups on the Firefox lock detection.

A Dock-launched app has launchd's bare PATH, so `python3` could go unfound;
the probe now names `/usr/bin/python3` absolutely first. More importantly,
"held" is now only ever the script's own verdict: a probe that never ran —
no interpreter, or Apple's shim on a Mac without the developer tools, which
exits non-zero after prompting to install — is the probe being unavailable,
not evidence about the lock, and falls back to "not held" rather than
blocking Firefox import on that machine for good. The SQLite snapshot copes
with a live WAL as it does for every other engine.

And `HostProcessAddresses` collected only interface addresses, so a
hostname mapped in /etc/hosts to an address no interface carries — Debian's
127.0.1.1 — read as foreign, holding a crashed Firefox's lock forever. The
set now also includes what the resolver returns for the machine's hostname,
which is exactly what Firefox writes into the lock.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

```

## Parents

- [b42d1a8f695506a7073bec8cdddedd8c0e73d9eb](https://git.cafe/pingdotgg/t3code/commit/b42d1a8f695506a7073bec8cdddedd8c0e73d9eb?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/92bfdf8804c5e2c6da756af0190e7f854bb7593a?format=markdown)
