Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-23637

RHEL-9: Backport GUnixMountMonitor port to libmnt_monitor

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • rhel-9.4
    • glib2
    • glib2-2.68.4-14.el9
    • None
    • None
    • rhel-sst-display-desktop-foundation
    • ssg_display
    • 24
    • 26
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Unspecified Release Note Type - Unknown
    • None

      Our customer wants to use the x-gvfs-notrash functionality to deal with NFS issues. See https://issues.redhat.com/browse/RHEL-2824. It doesn't work properly for NFS because GUnixMountMonitor doesn't see the mount options in certain cases.

      This is because GUnixMountMonitor is not aware of the /run/mount/utab file changes. This file contains the userspace mount options (e.g. x-gvfs-notrash) among others. There is a problem when /sbin/mount.<type> (e.g. mount.nfs) helper programs are used. In that case, the /run/mount/utab file is updated later than the /proc/mounts file and thus the GUnixMountMonitor clients (e.g. gvfsd-trash) don't see the userspace options until the next mount-changed signal. See: https://issues.redhat.com/browse/RHEL-14607.

      The https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3845 MR ports GUnixMountMonitor to use the libmnt_monitor API for monitoring. So the mount-changed signal is emitted after the /run/mount/utab change. Can we please backport that?

              mcatanza@redhat.com Michael Catanzaro
              oholy@redhat.com Ondrej Holy
              Michael Catanzaro Michael Catanzaro
              Tomas Pelka Tomas Pelka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: