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

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.
Fixesmbrt#261
@mbrt

mbrt commented Jun 18, 2022

Copy link
Copy Markdown
Owner

Thanks a lot @gjolly!

@mbrt
mbrt merged commit db7b744 into mbrt:masterJun 18, 2022
Sign up for freeto 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

@gjolly@mbrt