snap logout and snap login with same account creates new user
Bug #1860102 reported by
John Lenton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Medium
|
Samuele Pedroni |
Bug Description
If you're logged in to snapd, and thus have a snapd user id, and do a 'snap logout' followed by a 'snap login' using the same u1 account, you'll get a new user id.
This means refreshes that would've tried to use the old user id will be done with id 0 instead, meaning private snaps won't get refreshed.
This becomes a problem when trying to interact with a snapd with expired macaroons, which results in a rather opaque "invalid credentials" that might drive the user to log out and back in.
This is mitigated somewhat by the fact that the user could instead just do a 'snap login' again instead, but that is not necessarily obvious.
Changed in snapd: | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Samuele Pedroni (pedronis) |
To post a comment you must log in.
Also note https:/ /forum. snapcraft. io/t/download- snap-core- invalid- credentials/ 15253