Public bug reported:

On Ubuntu 24.04, when logging in, the a link in /etc/update-motd.d runs
/usr/share/landscape/landscape-sysinfo.wrapper which collects and
displays information using /usr/bin/landscape-sysinfo.

On several of my machines, I have volumes auto-mounted via /etc/fstab
that are full or nearly full and which contain local copies of shared
data required for operational purposes.

These are mounted read-only as the data does not change except on a
system-wide update handled OOB.

Unfortunately the Disk plugin reports these as problematic with messages
such as

    => /mnt/media0 is using 94.8% of 915.82GB

I cannot find the source code for the Disk plugin so do not know if
there is a way of disabling the message for read-only mounts.

It would be nice if there were an option to do this without disabling
the warning for rw mounts.

Alternatively, it could be argued that the warning should not ever be
generated for ro mounts.

$ lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
$ apt-cache policy landscape-*
landscape-common:
  Installed: 24.02-0ubuntu5.3
  Candidate: 24.02-0ubuntu5.3
  Version table:
 *** 24.02-0ubuntu5.3 500
        500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     24.02-0ubuntu5 500
        500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
landscape-client:
  Installed: (none)
  Candidate: 24.02-0ubuntu5.3
  Version table:
     24.02-0ubuntu5.3 500
        500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
     24.02-0ubuntu5 500
        500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
$ landscape-sysinfo
  System load:             0.0
  Usage of /:              20.6% of 27.46GB
  Memory usage:            25%
  Swap usage:              0%
  Temperature:             53.0 C
  Processes:               170
  Users logged in:         1
  IPv4 address for enp1s0: 192.168.26.183
  IPv6 address for enp1s0: 2a02:8010:69f8:80::183
  IPv6 address for enp1s0: fda4:c415:2fba:80::183
  IPv6 address for enp1s0: fda4:c415:2fba:80:6a1d:efff:fe1b:d117
  IPv6 address for enp1s0: 2a02:8010:69f8:80:6a1d:efff:fe1b:d117

  => /mnt/media0 is using 94.8% of 915.82GB

** Affects: ubuntu
     Importance: Undecided
         Status: New

** Description changed:

  On Ubuntu 24.04, when logging in, the a link in /etc/update-motd.d runs
  /usr/share/landscape/landscape-sysinfo.wrapper which collects and
  displays information using /usr/bin/landscape-sysinfo.
  
  On several of my machines, I have drives auto-mounted via /etc/fstab
  that are full or nearly full and which contain local copies of shared
  data required for operational purposes.
  
  These are mounted read-only as the data does not change except on a
  system-wide update handled OOB.
  
  Unfortunately the Disk plugin reports these as problematic with messages
  such as
  
-     => /mnt/media0 is using 94.8% of 915.82GB
+     => /mnt/media0 is using 94.8% of 915.82GB
  
  I cannot find the source code for the Disk plugin so do not know if
  there is a way of disabling the message for read-only mounts.
  
  It would be nice if there were an option to do this without disabling
  the warning for rw mounts.
  
- Alternatively, it could be argued that the warning should not every be
+ Alternatively, it could be argued that the warning should not ever be
  generated for ro mounts.
- 
  
  $ lsb_release -rd
  No LSB modules are available.
  Description:    Ubuntu 24.04.3 LTS
  Release:        24.04
  $ apt-cache policy landscape-*
  landscape-common:
-   Installed: 24.02-0ubuntu5.3
-   Candidate: 24.02-0ubuntu5.3
-   Version table:
-  *** 24.02-0ubuntu5.3 500
-         500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
-         100 /var/lib/dpkg/status
-      24.02-0ubuntu5 500
-         500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
+   Installed: 24.02-0ubuntu5.3
+   Candidate: 24.02-0ubuntu5.3
+   Version table:
+  *** 24.02-0ubuntu5.3 500
+         500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
+         100 /var/lib/dpkg/status
+      24.02-0ubuntu5 500
+         500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
  landscape-client:
-   Installed: (none)
-   Candidate: 24.02-0ubuntu5.3
-   Version table:
-      24.02-0ubuntu5.3 500
-         500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
-      24.02-0ubuntu5 500
-         500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
+   Installed: (none)
+   Candidate: 24.02-0ubuntu5.3
+   Version table:
+      24.02-0ubuntu5.3 500
+         500 http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
+      24.02-0ubuntu5 500
+         500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
  $ landscape-sysinfo
-   System load:             0.0
-   Usage of /:              20.6% of 27.46GB
-   Memory usage:            25%
-   Swap usage:              0%
-   Temperature:             53.0 C
-   Processes:               170
-   Users logged in:         1
-   IPv4 address for enp1s0: 192.168.26.183
-   IPv6 address for enp1s0: 2a02:8010:69f8:80::183
-   IPv6 address for enp1s0: fda4:c415:2fba:80::183
-   IPv6 address for enp1s0: fda4:c415:2fba:80:6a1d:efff:fe1b:d117
-   IPv6 address for enp1s0: 2a02:8010:69f8:80:6a1d:efff:fe1b:d117
+   System load:             0.0
+   Usage of /:              20.6% of 27.46GB
+   Memory usage:            25%
+   Swap usage:              0%
+   Temperature:             53.0 C
+   Processes:               170
+   Users logged in:         1
+   IPv4 address for enp1s0: 192.168.26.183
+   IPv6 address for enp1s0: 2a02:8010:69f8:80::183
+   IPv6 address for enp1s0: fda4:c415:2fba:80::183
+   IPv6 address for enp1s0: fda4:c415:2fba:80:6a1d:efff:fe1b:d117
+   IPv6 address for enp1s0: 2a02:8010:69f8:80:6a1d:efff:fe1b:d117
  
-   => /mnt/media0 is using 94.8% of 915.82GB
+   => /mnt/media0 is using 94.8% of 915.82GB

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120932

Title:
  landscape-sysinfo reports low space warning for read-only mounts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2120932/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to