elvetemedve / gnome-shell-extension-system-monitor

Gnome Shell extension for displaying resource usage
GNU General Public License v3.0
87 stars 14 forks source link

statvfs journal spam #71

Closed ilya-zlobintsev closed 3 years ago

ilya-zlobintsev commented 3 years ago

I'm using gnome-shell 3.38.2 on fedora 33, and the extension causes lots of spam in the journal (this message appears every 2 seconds): gnome-shell[2816]: glibtop(c=2816): [WARNING] statvfs '/var/lib/containers/storage/overlay' failed: Permission denied I assume this is from the storage usage analyzer. Disabling the disk indicator stops the spam.

elvetemedve commented 3 years ago

Hi @ilyazzz,

Actually it's not the extension itself, but one of its dependencies libgtop emitted that error. To calculate disk usage libgtop scans all the mount points in the filesystem, however the directory /var/lib/containers/storage/overlay is not readable by the user of the gnome shell. This problem is already reported upstream.