Public bug reported:

The `gnome-system-monitor` package preinstalled with Ubuntu 18.04
appears to have a problem with excluding `/dev/loop*` mounts from the
File System tab.

This is a screenshot of what it shows on my system:

https://i.imgur.com/SHwXcsR.png

As you can see, there's a lot of `/dev/loop*` entries, and a lot of
duplication of available disk space percentage.

This is a pastebin of `$ mount`: https://paste.ubuntu.com/p/T4ZKz99CdK/

And this is a pastebin of my current `snap` version and `$ cat
/proc/self/mountinfo`: https://paste.ubuntu.com/p/3wvsFmnygw/

# How to reproduce

If your version of `gnome-system-monitor` is the default installed with
Ubuntu 18.04, you should already have this problem. If not, try removing
the current version `sudo apt remove gnome-system-monitor`, and
installing it from the snap store `sudo snap install gnome-system-
monitor` to have the problem show up.

It could be helpful to look into `$ cat /run/mount/utab` (I'm mentioning
this only because it was suggested to me to mention it). Unfortunately I
didn't do that before removing the snap package, so I don't have the
output available.

# Expected behaviour

I would expect to only see the actual partitions in my system, in my
case: `/`, `/home`, and `/boot/efi`, since I have `/home` on its own
partition.

# Workaround

A workaround to get rid of this problem is to remove the snap package
and install it via apt `sudo snap remove gnome-system-monitor && sudo
apt install gnome-system-monitor`. It worked for me, and after that I
only had the three partitions mentioned above showing up in the File
System tab.

Plus, I do have the output for `$ cat /run/mount/utab` this time:
https://paste.ubuntu.com/p/tJwqjDW6T6/

** Affects: gnome-system-monitor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-monitor in Ubuntu.
https://bugs.launchpad.net/bugs/1808420

Title:
  gnome-system-monitor from Snap does not hide /dev/loop* mounts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/1808420/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to