Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9578

having security_dentry_init_security doesn't mean it's enabled

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0, Lustre 2.10.2
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      LU-8956 introduced security context support, but Lustre stops to work if the corresponding feature is not enabled in the kernel.

      Attachments

        Issue Links

          Activity

            [LU-9578] having security_dentry_init_security doesn't mean it's enabled

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29737/
            Subject: LU-9578 llite: use security context if it's enabled in the kernel
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: b9e299a98dd8d7fd9b5754dcc9aff565b3004abd

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29737/ Subject: LU-9578 llite: use security context if it's enabled in the kernel Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: b9e299a98dd8d7fd9b5754dcc9aff565b3004abd

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29737
            Subject: LU-9578 llite: use security context if it's enabled in the kernel
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 4ceed178648772ca6f169e6fc535e79dc82c4799

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29737 Subject: LU-9578 llite: use security context if it's enabled in the kernel Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 4ceed178648772ca6f169e6fc535e79dc82c4799
            pjones Peter Jones added a comment -

            Landed for 2.11

            pjones Peter Jones added a comment - Landed for 2.11

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27364/
            Subject: LU-9578 llite: use security context if it's enabled in the kernel
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 61f26ea47f96632a90702f2b404e845a01498612

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27364/ Subject: LU-9578 llite: use security context if it's enabled in the kernel Project: fs/lustre-release Branch: master Current Patch Set: Commit: 61f26ea47f96632a90702f2b404e845a01498612

            right, CONFIG_SECURITY is not defined in my setup. i'm getting -95 in many cases like file creations.

            bzzz Alex Zhuravlev added a comment - right, CONFIG_SECURITY is not defined in my setup. i'm getting -95 in many cases like file creations.
            jhammond John Hammond added a comment - - edited

            Alex, are you building Lustre on a kernel without CONFIG_SECURITY? Could you describe the error/behavior that you see?

            jhammond John Hammond added a comment - - edited Alex, are you building Lustre on a kernel without CONFIG_SECURITY? Could you describe the error/behavior that you see?

            Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: https://review.whamcloud.com/27364
            Subject: LU-9578 llite: use security context if it's enabled in the kernel
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2ceabf014b5e48a4ed287bf9048d8f20a1b374e1

            gerrit Gerrit Updater added a comment - Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: https://review.whamcloud.com/27364 Subject: LU-9578 llite: use security context if it's enabled in the kernel Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2ceabf014b5e48a4ed287bf9048d8f20a1b374e1

            People

              bzzz Alex Zhuravlev
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: