# fix\(desktop\): recognise any local address as the owner of a Firefox lock symlink · pingdotgg/t3code

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

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

Visibility: public

Requested revision: b42d1a8f695506a7073bec8cdddedd8c0e73d9eb

Requested commit: b42d1a8f695506a7073bec8cdddedd8c0e73d9eb

Commit: b42d1a8f695506a7073bec8cdddedd8c0e73d9eb

Tree: e1c8985894b9dd2616b9d8758328e1ac6f49bf28

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(desktop): recognise any local address as the owner of a Firefox lock symlink

The owner check treated only 127.0.0.1 and ::1 as ours, but Firefox writes
whatever its resolver returns for the machine's hostname — 127.0.1.1 on
Debian-style hosts, a LAN address elsewhere, loopback only when the lookup
fails. A crashed Firefox on such a host left a symlink the check read as
foreign and held forever, blocking import. The owner is now matched against
every address the machine answers to, via a new `HostProcessAddresses`
reference that mirrors `HostProcessHostname` and is injectable in tests.

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

```

## Parents

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

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