Re: [PATCH 1/2] nfs-server: Replace rpc.svcgssd with gssproxy in systemd script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neil,

On 09/19/2014 01:10 PM, Steve Dickson wrote:
> Have the nfs-server depend/start on the gssproxy daemon
> instead of rpc.svcgssd to manage GSSAPI credentials
> 
> Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
> ---
>  systemd/nfs-server.service | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service
> index 2fa7387..3b04f84 100644
> --- a/systemd/nfs-server.service
> +++ b/systemd/nfs-server.service
> @@ -2,12 +2,12 @@
>  Description=NFS server and services
>  Requires= network.target proc-fs-nfsd.mount rpcbind.target
>  Requires= nfs-mountd.service
> -Wants=rpc-statd.service nfs-idmapd.service rpc-gssd.service rpc-svcgssd.service
> +Wants=rpc-statd.service nfs-idmapd.service rpc-gssd.service gssproxy.service
>  Wants=rpc-statd-notify.service
>  
>  After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service
>  After= nfs-idmapd.service rpc-statd.service
> -After= rpc-gssd.service rpc-svcgssd.service
> +After= rpc-gssd.service gssproxy.service
Is there a better way to do this, to be more backwards compatible? 

Maybe figure out that gssproxy is installed so would start that daemon
if not fall back to rpc.svcgssd? 

Unfortunately systemd is still somewhat of a mystery to me.... :-( 

steved.
>  Before= rpc-statd-notify.service
>  
>  Wants=nfs-config.service
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux