Public bug reported:
preconditions:
$ snap install <snap>
$ snap set <snap> KEY1="VALUE"
$ snap set <snap> KEY2="VALUE"
$ snap remove <snap>
$ snap install <snap>
$ snap set <snap> KEY1="VALUE"
expected result:
when calling last $ snap set, configure hook associated to this "snap set" I'd
expect snapctl only to return value for KEY1
actual result:
snapctl return values for both, KEY1 and KEY2
Are we cleaning snapctl cache when we remove snap?
tested on Ubuntu 16.04 classing
snapd version:
snap 2.16ubuntu3
snapd 2.16ubuntu3
series 16
ubuntu 16.04
** Affects: snapd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636934
Title:
snapctl seem to cache values even if snap is removed and then
installed again
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1636934/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs