Vitals icon indicating copy to clipboard operation
Vitals copied to clipboard

Vitals stopped reporting Disk data on Fedora 42

Open linuxkernel94 opened this issue 9 months ago • 7 comments

Has this issue been covered in the Wiki?

  • [x] I have read the Wiki and my issue is not covered.

Is there an existing issue reported already?

  • [x] I have searched the existing issues, it does not exist.

What is the unexpected behavior?

After I upgraded from Fedora 41 to 42 (Silverblue) Vitals suddenly stopped reporting disk usage.

Steps to reproduce the unexpected behavior.

Upgrade to Fedora 42

Relevant log output

rpm-ostree db diff | grep sensors
  lm_sensors-libs 3.6.0-20.fc41 -> 3.6.0-22.fc42

rpm-ostree db diff | grep libgtop
  libgtop2 2.41.3-2.fc41 -> 2.41.3-3.fc42

What distribution and version of Linux are you using?

Fedora 42 Silverblue

What version of Gnome are you using?

48

linuxkernel94 avatar Apr 15 '25 13:04 linuxkernel94

This is probably linked to composefs being enabled in Fedora Atomic Desktops 42.

axeleroy avatar Apr 22 '25 16:04 axeleroy

@axeleroy I think that could be the case, is there a way to fix this?

linuxkernel94 avatar Apr 23 '25 14:04 linuxkernel94

Fixing it only requires going into Vital's settings and changing the storage path from / to /sysroot. From the Fedora Wiki:

User experience

The main visible change will be that the root filesystem (/) is now small and full (a few MB, 100% used). The real root is mounted in /sysroot and most of the data is stored in /var.

axeleroy avatar Apr 23 '25 15:04 axeleroy

It worked perfectly, thanks!!!

Last question, do you think there is a way to fix this so the extension detects the path automatically by default?

This way other users don't experience this issue.

linuxkernel94 avatar Apr 23 '25 15:04 linuxkernel94

I honestly don't know, I have very limited knowledge on GNOME extension development and looking at the extension's code I understand that the default value is hard-coded (though I might have misunderstood).

axeleroy avatar Apr 23 '25 15:04 axeleroy

I can look into seeing if I can detect composefs. Or perhaps it is as simple as seeing if the path exists, and if so, use it.

corecoding avatar Apr 23 '25 19:04 corecoding

Hi again, have you found a solution to fix this by default?

linuxkernel94 avatar Jul 06 '25 08:07 linuxkernel94