linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacob Shivers <jshivers@redhat.com>
To: SteveD@redhat.com
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH 0/1] nfs-utils: Add flag and boolean to control SETENV behavior for $HOME in rpc.gssd
Date: Mon,  1 Mar 2021 16:46:21 -0500	[thread overview]
Message-ID: <20210301214622.829462-1-jshivers@redhat.com> (raw)

A deadlock can occur when accessing NFS home directories when $HOME is
unmodified as Kerberos routines will attempt to access $HOME, but will be
inaccessible due to a lack of a Kerberos ticket. It would then check for the
existence of $HOME/.k5identity, but could not access the file due to not having
a TGT.

The issue was originally reported in:
https://bugzilla.redhat.com/show_bug.cgi?id=1052902

This patch allows for user control of this behavior granting users who do not
have Kerberized home directories access to their .k5identity file.

This addresses the following bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1868087

Jacob Shivers (1):
  gssd: Add options to rpc.gssd to allow for the use of
    $HOME/.k5identity files

 nfs.conf             |  1 +
 systemd/nfs.conf.man |  3 ++-
 utils/gssd/gssd.c    | 28 ++++++++++++++++++++--------
 utils/gssd/gssd.man  | 19 ++++++++++++++++++-
 4 files changed, 41 insertions(+), 10 deletions(-)

-- 
2.29.2


             reply	other threads:[~2021-03-01 21:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 21:46 Jacob Shivers [this message]
2021-03-01 21:46 ` [PATCH 1/1] gssd: Add options to rpc.gssd to allow for the use of $HOME/.k5identity files Jacob Shivers
2021-03-15 19:40   ` 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=20210301214622.829462-1-jshivers@redhat.com \
    --to=jshivers@redhat.com \
    --cc=SteveD@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).