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

RHEL-8: Backport GUnixMountMonitor port to libmnt_monitor

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • rhel-8.10
    • rhel-8.9.0
    • glib2
    • glib2-2.56.4-163.el8
    • sst_desktop
    • ssg_desktop
    • 24
    • 26
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Pass
    • 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:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: