snapcraft.yaml missing network plug: strict snap cannot reach the daemon #621

Closed
opened 2026-08-09 19:18:06 +00:00 by the.auditor · 0 comments
Owner

packaging/snap/snapcraft.yaml uses confinement: strict but declares no plugs on the tpagectl app. A strict-confined snap cannot use the network unless it declares plugs: [network] (auto-connected only when declared). Since tpagectl is a pure HTTP client, the built snap would be unable to reach the daemon.

Add plugs to the app, e.g.:

apps:
  tpagectl:
    command: bin/tpagectl
    plugs: [network, home]

(home allows writing the config file; a dbus plug is additionally needed for Secret Service keychain use.)

See #620

`packaging/snap/snapcraft.yaml` uses `confinement: strict` but declares no plugs on the `tpagectl` app. A strict-confined snap cannot use the network unless it declares `plugs: [network]` (auto-connected only when declared). Since tpagectl is a pure HTTP client, the built snap would be unable to reach the daemon. Add plugs to the app, e.g.: apps: tpagectl: command: bin/tpagectl plugs: [network, home] (`home` allows writing the config file; a `dbus` plug is additionally needed for Secret Service keychain use.) See https://git.lan.thwap.org/thwap/thwap-pagesd/pulls/620
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/thwap-pagesd#621
No description provided.