snap commands.db grows the image by 4mb
Bug #2025986 reported by
Christian Ehrhardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Confirmed
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
our regular metric checks found a 4mb increase of disc consumption.
I've found that comparing
from
74e72ff5c7af | yes | ubuntu 23.10 amd64 (minimal daily) (20230614
to
c61eed8b36a0 | yes | ubuntu 23.10 amd64 (minimal daily) (20230618)
both from https:/
No packages changed, but /var/cache had ~4mb more.
I found that this is due to /var/cache/
The other commands.db like /var/lib/
I'd appreciate if you could have a look if this is intentional or just fallen through the crack and need to be stripped.
To post a comment you must log in.
curious, an examination hasn't brought much to life why it started being added.
package diffs (20230614 : 20230618)
base-files 12.3ubuntu3 : base-files 13ubuntu1
gcc-13-base:amd64 13.1.0-2ubuntu2 : gcc-13-base:amd64 13.1.0-5ubuntu1
isc-dhcp-client 4.4.3-P1-2ubuntu2 : isc-dhcp-client 4.4.3-P1-2ubuntu4
isc-dhcp-common 4.4.3-P1-2ubuntu2 : isc-dhcp-common 4.4.3-P1-2ubuntu4
libappstream4:amd64 0.16.1-2 : libappstream4:amd64 0.16.2-1
libgcc-s1:amd64 13.1.0-2ubuntu2 : libgcc-s1:amd64 13.1.0-5ubuntu1
libsmartcols1:amd64 2.38.1- 5ubuntu2libstdc ++6:amd64 13.1.0-5ubuntu1 : libsmartcols1:amd64 2.38.1-5ubuntu2
libstdc++6:amd64 13.1.0-2ubuntu2 : libstdc++6:amd64 13.1.0-5ubuntu1
mawk 1.3.4.20200120-3.1 : mawk 1.3.4.20230525-1
motd-news-config 12.3ubuntu3 : motd-news-config 13ubuntu1
python3-distupgrade 1:23.10.2 : python3-distupgrade 1:23.10.3
ubuntu- release- upgrader- core 1:23.10.2 : ubuntu- release- upgrader- core 1:23.10.3
~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~
I'm also not seeing where the commands.db is removed normally. for Minimal, there's a dpkg-filter for man pages but i'm not seeing commands.db
https:/ /git.launchpad. net/livecd- rootfs/ tree/live- build/auto/ build#n183
This needs a deeper look, because something is off _somewhere_, but i can't find a diff as to what may have changed, or the location where we remove other commands.db in a minimal image (at least within livecd-rootfs)