Linux NFS development
 help / color / mirror / Atom feed
From: Olga Kornievskaia <okorniev@redhat.com>
To: steved@redhat.com
Cc: linux-nfs@vger.kernel.org, Olga Kornievskaia <okorniev@redhat.com>
Subject: [PATCH 0/2] nfs-utils: gssd: do not use krb5_initialize
Date: Tue, 25 Feb 2025 16:46:05 -0500	[thread overview]
Message-ID: <20250225214607.20449-1-okorniev@redhat.com> (raw)

It was discovered that on parallel upcalls to gssd for uid=0,
one of the upcalls would fail because krb5_cc_initialize() is
not concurrency safe.

It was suggested that instead gssd is changed to use a different
sequence of api calls that kinit uses.

https://mailman.mit.edu/pipermail/krbdev/2025-February/013708.html

Olga Kornievskaia (2):
  nfs-utils: gssd: unconditionally use krb5_get_init_creds_opt_alloc
  nfs-utils: gssd: do not use krb5_cc_initialize

 utils/gssd/krb5_util.c | 140 ++++++++++++++++++-----------------------
 1 file changed, 60 insertions(+), 80 deletions(-)

-- 
2.47.1


             reply	other threads:[~2025-02-25 21:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25 21:46 Olga Kornievskaia [this message]
2025-02-25 21:46 ` [PATCH 1/2] nfs-utils: gssd: unconditionally use krb5_get_init_creds_opt_alloc Olga Kornievskaia
2025-03-24 20:24   ` Steve Dickson
2025-03-24 20:24   ` Steve Dickson
2025-02-25 21:46 ` [PATCH 2/2] nfs-utils: gssd: do not use krb5_cc_initialize Olga Kornievskaia
2025-03-24 20:26   ` Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250225214607.20449-1-okorniev@redhat.com \
    --to=okorniev@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=steved@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox