Re: [PATCH] sunrpc: prompt for RPCSEC_GSS_KRB5 even if NFS_V4 is enabled

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Uwe Kleine-König
Date: Monday, September 27, 2010 - 5:54 am

Hi Trond,

On Mon, Sep 27, 2010 at 07:39:32AM -0400, Trond Myklebust wrote:
My intention is not to make "RPCSEC_GSS_KRB5 optional for NFSv4".  First
I saw a build failure and then I wondered if the fix was optimal.  After
reading the log of 827e345 I thought NFSv4 doesn't depend on
RPCSEC_GSS_KRB5, still more considering that 827e345 was your fix after
I suggested to select CRYPTO to enforce RPCSEC_GSS_KRB5 again.

Currently you can have NFSv4 without RPCSEC_GSS_KRB5 because if you
don't have CRYPTO RPCSEC_GSS_KRB5 is off, too, even if it defaults to
yes and there's no prompt.  (Selecting would not work, too.)
And note that RPCSEC_GSS_KRB5 already selects SUNRPC_GSS, so 827e345
doesn't do anything useful if NFS_V4 really needs RPCSEC_GSS_KRB5.

So either we should really enforce RPCSEC_GSS_KRB5 if NFS_V4 is selected
(by letting one of these select CRYPTO, see e.g. my first patch, or by
letting NFS_V4 depend on CRYPTO) or make it optional in all cases (as it
is already now in some cases).

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
df486a25900 broke arm/mx1_defconfig and probably more, Uwe Kleine-König, (Wed Aug 25, 1:49 am)
[REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enforce CRYPTO, =?UTF-8?q?Uwe=20Klei ..., (Wed Aug 25, 2:05 am)
Re: [REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enforce ..., Uwe Kleine-König, (Thu Aug 26, 11:11 pm)
Re: [REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enforce ..., Uwe Kleine-König, (Mon Aug 30, 1:26 am)
Re: [REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enforce ..., Uwe Kleine-König, (Mon Aug 30, 5:10 am)
Re: [REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enforce ..., Uwe Kleine-König, (Mon Aug 30, 5:33 am)
Re: [REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enforce ..., Uwe Kleine-König, (Mon Aug 30, 7:36 am)
[REGRESSION PATCH v2] NFS: let NFS_V4 and NFSD_V4 enforce ..., =?UTF-8?q?Uwe=20Klei ..., (Wed Sep 1, 1:52 am)
Re: [REGRESSION PATCH] NFS: let NFS_V4 and NFSD_V4 enforce ..., Uwe Kleine-König, (Thu Sep 9, 11:14 am)
[PATCH] sunrpc: prompt for RPCSEC_GSS_KRB5 even if NFS_V4 ..., =?UTF-8?q?Uwe=20Klei ..., (Mon Sep 27, 3:41 am)
Re: [PATCH] sunrpc: prompt for RPCSEC_GSS_KRB5 even if NFS ..., Uwe Kleine-König, (Mon Sep 27, 5:54 am)