Pin srt to a tested version; support only Pop!_OS 26.04 and later
srt is pinned to 0.0.83, the version the smoketest passed with. A computer with another version sees the agents item as to do in configure, which installs the pinned one. Move the pin only after smoketest/run 50 80 passes. The installer and configure stop on Pop!_OS (or Ubuntu) older than 26.04. The smoketest builds on Ubuntu 26.04, with checks that 24.04 is refused. 26.04's own AppArmor profile lets bubblewrap make user namespaces, so the connector's profile for it, and the code that offered to add it, are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -61,18 +61,7 @@ Not ported, and why:
|
||||
|
||||
## Pop!_OS-specific
|
||||
|
||||
- [ ] Pin srt. `configure.d/lib/tools.sh` installs the latest
|
||||
`@anthropic-ai/sandbox-runtime`, so a new release reaches every computer
|
||||
untested. One already broke opencode's sandbox: srt's Unix socket filter
|
||||
needs a user namespace inside bubblewrap, which Pop!_OS' AppArmor
|
||||
(`bwrap-userns-restrict`) denies. opencode now allows all Unix sockets
|
||||
and hides their paths instead, as Hermes and Cline Desktop do. Pin a
|
||||
version the smoketest passed with, and move the pin only after
|
||||
`smoketest/run 50 80` passes on the new one.
|
||||
- [ ] Start the real opencode in its sandbox on Pop!_OS, to check it needs no
|
||||
socket the new `denyRead` list hides. Only a stand-in has run so far.
|
||||
- [ ] The development machine runs Pop!_OS 26.04, but the smoketest still builds on Ubuntu
|
||||
24.04 and smoketest/README.md says 24.04. Decide which release the
|
||||
connector supports, and test on it.
|
||||
- [ ] The manual checks in [TEST.md](TEST.md) on a real Pop!_OS machine,
|
||||
against a real Core. None have been done yet.
|
||||
|
||||
Reference in New Issue
Block a user