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

nfsdclnts: Traceback superblock

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6.z
    • nfs-utils
    • None
    • No
    • None
    • None
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      I setup a NFS server using latest package nfs-utils-2.5.4-34.el9.x86_64 on RHEL9.6, I connect from a client using vers=4.0. When I run nfsdclnts from the server I get a Traceback:

      # nfsdclnts --hostname
      Inode number | Type   | Access | Deny | Hostname              | Filename
      Traceback (most recent call last):
        File "/sbin/nfsdclnts", line 255, in <module>
          nfsd4_show()
        File "/sbin/nfsdclnts", line 247, in nfsd4_show
          printer(item, args)
        File "/sbin/nfsdclnts", line 90, in printer
          inode = i[key]['superblock'].split(':')[-1]
      KeyError: 'superblock'
      
      # nfsdclnts --clientinfo
      Inode number | Type   | Access | Deny | ip address            | Client ID           | vers | Filename
      Traceback (most recent call last):
        File "/sbin/nfsdclnts", line 255, in <module>
          nfsd4_show()
        File "/sbin/nfsdclnts", line 247, in nfsd4_show
          printer(item, args)
        File "/sbin/nfsdclnts", line 90, in printer
          inode = i[key]['superblock'].split(':')[-1]
      KeyError: 'superblock'
      
      

      I expect the command to return client and accessed file details.

              Unassigned Unassigned
              rhn-support-jburati Johan Burati
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: