L.P.H. van Belle
2018-Nov-06 15:35 UTC
[Samba] Again NFSv4 and Kerberos at the 'samba way'...
Hai Rowland, Yes, that correct. If you use this in override.conf then its. ( so not a copy of the service file to /etc/systemd ) systemctl edit rpc-gssd.service [Service] ExecStartExecStart=/Your/Own/Script/script.sh Note the empty line, without that won the override is NOT working. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: Rowland Penny [mailto:rpenny at samba.org] > Verzonden: dinsdag 6 november 2018 16:32 > Aan: samba at lists.samba.org > CC: L.P.H. van Belle > Onderwerp: Re: [Samba] Again NFSv4 and Kerberos at the 'samba way'... > > On Tue, 6 Nov 2018 16:20:07 +0100 > "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote: > > > 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 > > Sorry to butt in here, but is that 'ExecStart' line a default systemd > line ? > > Rowland > >
Rowland Penny
2018-Nov-06 15:49 UTC
[Samba] Again NFSv4 and Kerberos at the 'samba way'...
On Tue, 6 Nov 2018 16:35:28 +0100 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:> Hai Rowland, > > Yes, that correct. > If you use this in override.conf then its. ( so not a copy of the > service file to /etc/systemd ) > > systemctl edit rpc-gssd.service > [Service] > ExecStart> ExecStart=/Your/Own/Script/script.sh > > Note the empty line, without that won the override is NOT working. > > Greetz, > > Louis >ROFL, so the thing that was written so you don't use shell scripts to start things , uses shell scripts ROFL Rowland
L.P.H. van Belle
2018-Nov-06 16:17 UTC
[Samba] Again NFSv4 and Kerberos at the 'samba way'...
Hai, It's not totaly correct, In this case the shell script is called to set variables a user did set in /etc/default/file. Not execute the program. This is the exec of the program. (example) ExecStart=/usr/sbin/rpc.gssd $GSSDARGS And yes, you set varariables and other things also in systemd. Thats in debian Buster even more and more. They are having problems with dropping systemd-sysv because of .. Duvean. :-) hehe... Greetz, Louis> -----Oorspronkelijk bericht----- > Van: Rowland Penny [mailto:rpenny at samba.org] > Verzonden: dinsdag 6 november 2018 16:49 > Aan: samba at lists.samba.org > CC: L.P.H. van Belle > Onderwerp: Re: [Samba] Again NFSv4 and Kerberos at the 'samba way'... > > On Tue, 6 Nov 2018 16:35:28 +0100 > "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote: > > > Hai Rowland, > > > > Yes, that correct. > > If you use this in override.conf then its. ( so not a copy of the > > service file to /etc/systemd ) > > > > systemctl edit rpc-gssd.service > > [Service] > > ExecStart> > ExecStart=/Your/Own/Script/script.sh > > > > Note the empty line, without that won the override is NOT working. > > > > Greetz, > > > > Louis > > > > ROFL, so the thing that was written so you don't use shell scripts to > start things , uses shell scripts ROFL > > Rowland > >
Rowland Penny
2018-Nov-06 16:26 UTC
[Samba] Again NFSv4 and Kerberos at the 'samba way'...
On Tue, 6 Nov 2018 17:17:14 +0100 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:> Hai, > > It's not totaly correct, > In this case the shell script is called to set variables a user did > set in /etc/default/file. > > Not execute the program. > This is the exec of the program. (example) > ExecStart=/usr/sbin/rpc.gssd $GSSDARGS > And yes, you set varariables and other things also in systemd. > Thats in debian Buster even more and more.Yes but systemd said scripts are bad and here they are using them.> > They are having problems with dropping systemd-sysv because of .. > Duvean. :-) hehe... >Yes, I know, they have taken over maintenance of it and they are discussing taking over maintenance of other packages, sysvinit isn't going anywhere. Rowland