Comment 8 for bug 1756595

Julian Andres Klode (juliank) wrote :

I started some multipass VMs, installed the core snap in there, checked that the snap was mounted in df.

To verify the bug, I installed hello, added a prerm to fail removal, and then investigated the crash file:

== bionic 1.6.12: ==

=== normal df output ===
Filesystem 1K-blocks Used Available Use% Mounted on
udev 491808 0 491808 0% /dev
tmpfs 100908 868 100040 1% /run
/dev/sda1 4901996 1264364 3621248 26% /
tmpfs 504524 0 504524 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 504524 0 504524 0% /sys/fs/cgroup
/dev/sda15 106858 3668 103190 4% /boot/efi
tmpfs 100904 0 100904 0% /run/user/1000
/dev/loop0 90880 90880 0 100% /snap/core/7396

=== crash file ===
Df:
 Filesystem 1K-blocks Used Available Use% Mounted on
 udev 491808 0 491808 0% /dev
 tmpfs 100908 872 100036 1% /run
 /dev/sda1 4901996 1264372 3621240 26% /
 tmpfs 504524 0 504524 0% /dev/shm
 tmpfs 5120 0 5120 0% /run/lock
 tmpfs 504524 0 504524 0% /sys/fs/cgroup
 /dev/sda15 106858 3668 103190 4% /boot/efi
 tmpfs 100904 0 100904 0% /run/user/1000

== disco 1.8.3 ==

multipass@disco:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 4901996 1323952 3561660 28% /
devtmpfs 499036 0 499036 0% /dev
tmpfs 503272 0 503272 0% /dev/shm
tmpfs 100656 864 99792 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 503272 0 503272 0% /sys/fs/cgroup
/dev/sda15 106858 3686 103172 4% /boot/efi
tmpfs 100652 0 100652 0% /run/user/1000
/dev/loop0 90880 90880 0 100% /snap/core/7396
/dev/loop1 55808 55808 0 100% /snap/lxd/11595
multipass@disco:~$ sudo tail /var/crash/hello.0.crash
Df:
 Filesystem 1K-blocks Used Available Use% Mounted on
 /dev/root 4901996 1323956 3561656 28% /
 devtmpfs 499036 0 499036 0% /dev
 tmpfs 503272 0 503272 0% /dev/shm
 tmpfs 100656 868 99788 1% /run
 tmpfs 5120 0 5120 0% /run/lock
 tmpfs 503272 0 503272 0% /sys/fs/cgroup
 /dev/sda15 106858 3686 103172 4% /boot/efi
 tmpfs 100652 0 100652 0% /run/user/1000

--> both are fine