Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • Lustre 2.16.0
    • 3
    • 9223372036854775807

    Description

      ptlrpc_gss kernel module is automatically loaded when a GSS security flavor is enforced. But this works only once, because loading success is stored in a static variable in the ptlrpc module. If ptlrpc_gss is manually unloaded, while keeping ptlrpc loaded, next mount attempt fails.

      mgs# lctl conf_param testfs.srpc.flavor.default.cli2mdt=krb5n
      client# mount -t lustre mgs@tcp:/testfs /mnt/testfs
      client# umount /mnt/testfs
      client# rmmod ptlrpc_gss
      client# mount -t lustre mgs@tcp:/testfs /mnt/testfs
      mount.lustre: mount mgs@tcp:/testfs at /mnt/testfs failed: Operation not permitted
      

      Attachments

        Activity

          [LU-16888] Fix ptlrpc_gss automatic loading
          pjones Peter Jones added a comment -

          Landed for 2.16

          pjones Peter Jones added a comment - Landed for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51264/
          Subject: LU-16888 gss: fix ptlrpc_gss automatic loading
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: b80d6defb7b018250ef4fafccff7c980aed6a444

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51264/ Subject: LU-16888 gss: fix ptlrpc_gss automatic loading Project: fs/lustre-release Branch: master Current Patch Set: Commit: b80d6defb7b018250ef4fafccff7c980aed6a444

          "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51264
          Subject: LU-16888 gss: fix ptlrpc_gss automatic loading
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 5cc8e6bb94d7a7514ecc10041848a74c4b4331a1

          gerrit Gerrit Updater added a comment - "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51264 Subject: LU-16888 gss: fix ptlrpc_gss automatic loading Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5cc8e6bb94d7a7514ecc10041848a74c4b4331a1

          People

            sebastien Sebastien Buisson
            sebastien Sebastien Buisson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: