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

[RHEL 9] nfsdcld: prevent from accessing /var/lib/nfs/nfsdcld in read-only file system during boot

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.6
    • rhel-9.0.0
    • nfs-utils
    • nfs-utils-2.5.4-31.el9
    • No
    • Low
    • Patch
    • rhel-fs
    • 25
    • 26
    • 1
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      In RHEL 9.2 system, the nfsdcld started too early to check access on /var/lib/nfs/nfsdcld which were still in read-only file system as follows


      systemd[1]: Mounted NFSD configuration filesystem.
      systemd[1]: Starting NFSv4 Client Tracking Daemon...
      systemd[1]: Started NFSv4 Client Tracking Daemon.
      nfsdcld[611]: Unexpected error when checking access on /var/lib/nfs/nfsdcld: Read-only file system
      systemd[1]: Finished Coldplug All udev Devices.
      systemd[1]: nfsdcld.service: Main process exited, code=exited, status=226/NAMESPACE
      systemd[1]: nfsdcld.service: Failed with result 'exit-code'.
      kernel: xfs filesystem being remounted at / supports timestamps until 2038 (0x7fffffff)
      systemd[1]: Finished Remount Root and Kernel File Systems.

      What is the impact of this issue to you?

      Monitoring system alarm.

      Please provide the package NVR for which the bug is seen:

      nfs-utils-2.5.4-18.el9.x86_64

      How reproducible is this bug?:

      I found a patch that mentioned how to fix this problem. Can you please help me see if it works? Thank you.

      https://patchwork.kernel.org/project/linux-nfs/patch/OSZPR01MB7772A2EBF4EE02460E546CDB88402@OSZPR01MB7772.jpnprd01.prod.outlook.com/

              rhn-support-smayhew Scott Mayhew
              rhn-support-xixing Xiaodong Xing
              Scott Mayhew Scott Mayhew
              Yongcheng Yang Yongcheng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: