Skip to content

Commit

Permalink
go back to using classic confinement for snap
Browse files Browse the repository at this point in the history
Required plugs for this to work do not currently exist in snapd.
I'll leave this here for now in case they are added in the future
or if anyone wants to build their own snap with classic confinement.

Only a few of the plugs this commit removes were actually required.
I don't think there are any other currently existing plugs that
are required for this to work.
  • Loading branch information
elesiuta committed Aug 18, 2023
1 parent 850cc27 commit e5e400b
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ summary: picosnitch
description: |
Monitors your bandwidth, breaking down traffic by executable,
hash, parent, domain, port, or user over time.
confinement: strict
confinement: classic
grade: stable
base: core22
version: '0.14.0'
Expand Down Expand Up @@ -68,33 +68,9 @@ parts:
environment:
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages:$SNAP/usr/lib/python3.10/dist-packages

plugs:
dot-config-picosnitch:
interface: personal-files
write:
- $HOME/.config/picosnitch
run-picosnitch:
interface: system-files
write:
- /run/picosnitch.pid
shared-memory:
interface: shared-memory
private: true

apps:
picosnitch:
command: bin/picosnitch
plugs:
- dot-config-picosnitch
- run-picosnitch
- shared-memory
- block-devices
- network
- network-bind
- network-observe
- mount-observe
- system-observe
- system-trace

daemon:
command: "bin/picosnitch start-no-daemon"
Expand Down

0 comments on commit e5e400b

Please sign in to comment.