Skip to content

snap: add network-bind plug#262

Merged
mbrt merged 1 commit into
mbrt:masterfrom
gjolly:fix/snap-init
Jun 18, 2022
Merged

snap: add network-bind plug#262
mbrt merged 1 commit into
mbrt:masterfrom
gjolly:fix/snap-init

Conversation

@gjolly
Copy link
Copy Markdown
Contributor

@gjolly gjolly commented Jun 16, 2022

The Oauth dance requires a temporary local HTTP server to be started and
the current snap settings were not allowing it.
Adding network-bind to the list of connections fixes the issue.

Fixes #261

If someone wants to test:

rm -f $HOME/snap/gmailctl/current/.gmailctl/token.json
snapcraft
snap install --dangerous ./gmailctl_v0.10.4-*.snap
gmailctl init

The Oauth dance requires a temporary local HTTP server to be started and
the current snap settings were not allowing it.
Adding network-bind to the list of connections fixes the issue.

Fixes mbrt#261
@mbrt
Copy link
Copy Markdown
Owner

mbrt commented Jun 18, 2022

Thanks a lot @gjolly!

@mbrt mbrt merged commit db7b744 into mbrt:master Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fresh install with snap cannot succeed due to misconfigured network

2 participants