[Samba] Again NFSv4 and Kerberos at the 'samba way'...

L.P.H. van Belle belle at bazuin.nl
Tue Nov 6 15:20:07 UTC 2018


Hai Marco, 

Hmm, yes, that is strange.
This did work. 
Im checked some things, but im still not sure share this is going wrong. 

nfs-config.service is called for server and client nfs. 
That one usese
/lib/systemd/system/nfs-config.service
ExecStart=/usr/lib/systemd/scripts/nfs-utils_env.sh
And the script executes. 

nfs_config=/etc/sysconfig/nfs		<< does not exist. 
mkdir -p /run/sysconfig
{
echo PIPEFS_MOUNTPOINT=/run/rpc_pipefs
echo RPCNFSDARGS=\"$RPCNFSDOPTS ${RPCNFSDCOUNT:-8}\"
echo RPCMOUNTDARGS=\"$RPCMOUNTDOPTS\"
echo STATDARGS=\"$STATDOPTS\"
echo RPCSVCGSSDARGS=\"$RPCSVCGSSDOPTS\"
} > /run/sysconfig/nfs-utils

Im thinking.. 
Should nfs_config=  not be /run/sysconfig/nfs-utils ? 

Im not really sure here. 

What you can try/do also 

systemctl edit --full rpc-gssd.service
A copy is made of  rpc-gssd.service and placed in /etc/systemd 
And edit that file then change. 

ExecStart=/usr/sbin/rpc.gssd $GSSDARGS
To 
ExecStart=/usr/sbin/rpc.gssd -vvv -n


Do the same for :  rpc-svcgssd.service

Greetz, 

Louis






> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Marco Gaiarin via samba
> Verzonden: dinsdag 6 november 2018 11:43
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Again NFSv4 and Kerberos at the 'samba way'...
> 
> Mandi! L.P.H. van Belle via samba
>   In chel di` si favelave...
> 
> > And no, /etc/default/nfs-common is not ignored. Its just 
> harder to see it. 
> 
> Only a note: i've restarted the nfs server, but seems that 
> /etc/default/nfs-common
> and /etc/default/nfs-kernel-server are ignored, /usr/sbin/rpc.svcgssd
> and /usr/sbin/rpc.gssd get started without option setted in
> /etc/default/nfs-* files:
> 
>  root at vdmpp1:~# ps aux | grep [g]ssd
>  root       736  0.0  0.0  37012  3224 ?        Ss   nov05   
> 0:00 /usr/sbin/rpc.svcgssd
>  root       738  0.0  0.0 111044  3468 ?        Ss   nov05   
> 0:00 /usr/sbin/rpc.gssd
>  root at vdmpp1:~# grep GSSDOPTS /etc/default/nfs-*
>  /etc/default/nfs-common:RPCGSSDOPTS="-vvvvv"
>  /etc/default/nfs-kernel-server:RPCSVCGSSDOPTS="-vvvvv -n"
> 
> FYI.
> 
> -- 
> dott. Marco Gaiarin				        GNUPG 
> Key ID: 240A3D66
>   Associazione ``La Nostra Famiglia''          
> http://www.lanostrafamiglia.it/
>   Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al 
> Tagliamento (PN)
>   marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   
> f +39-0434-842797
> 
> 		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
>       http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
> 	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list