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

Keep a reference to the namespace process during gss context negotiation

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • Lustre 2.18.0
    • 3
    • 9223372036854775807

      When an import is created, it records the pid of the reaper (init process) of the creator's pid namespace in imp_sec_refpid. The GSS keyring upcall uses this pid to find the mount namespace in which to retrieve root credentials (krb5.conf, keytab, etc.), which allows containers to use their own Kerberos configuration. For user credentials, the pid of the calling process is used instead.

      Only the pid number is stored, and it is resolved through /proc by lgss_keyring at upcall time. Make it a proper reference on the struct pid in the import instead.

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

              Created:
              Updated: