← Back to team overview

touch-packages team mailing list archive

[Bug 1342858] Re: old click packages are not always cleaned out

 

I don't quite see the same here on my n4, I only have:

$ ls -l /var/lib/apparmor/clicks/*json |wc -l
33
$ click list|wc -l
30
$ sudo click list|wc -l
22

And when further investigating I see that filemanager is in two versions
installed (one for phablet, one for root):

$  ls -l /var/lib/apparmor/clicks/*json |grep filemanager
lrwxrwxrwx 1 root root  74 Jul 15 15:43 /var/lib/apparmor/clicks/com.ubuntu.filemanager_filemanager_0.3.211.json -> /usr/share/click/preinstalled/com.ubuntu.filemanager/0.3.211/apparmor.json
lrwxrwxrwx 1 root root  66 Jul 15 20:07 /var/lib/apparmor/clicks/com.ubuntu.filemanager_filemanager_0.3.223.json -> /opt/click.ubuntu.com/com.ubuntu.filemanager/0.3.223/apparmor.json

# click list|grep filemanager
com.ubuntu.filemanager	0.3.211

# sudo -u phablet click list|grep filemanager
com.ubuntu.filemanager	0.3.223

Then there is dropping-letters and fastmail.fm installed for root but
not phablet.

So I don't quite see the numbers you report. Could you please attach the
output of the click list, sudo clist list and the ls -l of the apparmor
profiles for further analysis ?

** Changed in: click (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1342858

Title:
  old click packages are not always cleaned out

Status in “click” package in Ubuntu:
  Incomplete

Bug description:
  /var/lib/apparmor/clicks still has a lot of symlinks pointing to
  security manifests for click packages that are no longer installed. I
  haven't verified this, but I think it might have something to do with
  preinstalled packages and system-image updates. Eg:

  $ ls -1 /var/lib/apparmor/clicks/*json | wc -l
  157

  $ click list | wc -l
  85

  $ sudo click list | wc -l
  19

  None of the symlinks in /var/lib/apparmor/clicks are dangling, so
  while this doesn't actively harm the system AFAICT, the 70+ additional
  and unneeded apparmor profiles means a slower first boot when policy
  regeneration is required.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1342858/+subscriptions


References