Public bug reported:

1. Install a snap from the store or import an assertion manually with snap ack.
2. Remove than snap from the system.

The assertion is kept on the system. It seems that we are collecting
more and more assertions over time which can be sizeable after some
usage and updates in /var/lib/snapd/assertions/. I think that once the
snap is removed explicitely of the system or if a revision isn't
used/available after a while, the assertions should be garbaged
collected.

$ snap version
snap    2.23.1
snapd   2.23.1
series  16
ubuntu  16.04
kernel  4.4.0-66-generic

** Affects: snappy
     Importance: Undecided
         Status: New

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  1. Install a snap from the store or import an assertion manually with snap 
ack.
  2. Remove than snap from the system
  
  The assertion is kept on the system. It seems that we are collecting
  more and more assertions over time which can be sizeable after some
  usage and updates in /var/lib/snapd/assertions/. I think that once the
  snap is removed explicitely of the system or if a revision isn't
  used/available after a while, the assertions should be garbaged
  collected.
+ 
+ $ snap version
+ snap    2.23.1
+ snapd   2.23.1
+ series  16
+ ubuntu  16.04
+ kernel  4.4.0-66-generic

** Description changed:

  1. Install a snap from the store or import an assertion manually with snap 
ack.
- 2. Remove than snap from the system
+ 2. Remove than snap from the system.
  
  The assertion is kept on the system. It seems that we are collecting
  more and more assertions over time which can be sizeable after some
  usage and updates in /var/lib/snapd/assertions/. I think that once the
  snap is removed explicitely of the system or if a revision isn't
  used/available after a while, the assertions should be garbaged
  collected.
  
  $ snap version
  snap    2.23.1
  snapd   2.23.1
  series  16
  ubuntu  16.04
  kernel  4.4.0-66-generic

** Also 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/1673539

Title:
  snapd doesn't clean up imported (snap) assertions

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1673539/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to