[Samba] Compiling Samba 4.7 with systemd support on Fedora 26

Arnab Roy arniekol at gmail.com
Thu Nov 23 22:36:08 UTC 2017


Thanks for this, looks like you have nailed it that was the root cause of
the problem!

Any ideas what is required to build with systemd support, I have installed
every systemd-devel package I could find ..?

On Thu, Nov 23, 2017 at 10:26 PM, Reindl Harald via samba <
samba at lists.samba.org> wrote:

>
>
> Am 23.11.2017 um 23:16 schrieb Arnab Roy:
>
>> No dice :( removed as suggested updated unit file looks like this
>>
>
> "Type=notify" can not work until systemd-support was successful built
> which does not seem to be the case looking at the starting posts!
>
> [Unit]
>> Description=KKonnect KHIPU-NETWORKS Service
>> After=syslog.target network.target
>>
>> [Service]
>> Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
>> Type=notify
>> NotifyAccess=all
>> ExecStart=/usr/local/samba/sbin/winbindd
>> ExecReload=/usr/bin/kill -HUP $MAINPID
>> LimitCORE=infinity
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>> I had lifted the unit file from an rpm install of samba from fedora.
>>
>> Thanks
>> Arnab
>>
>> On Thu, Nov 23, 2017 at 10:09 PM, Reindl Harald via samba <
>> samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote:
>>
>>
>>
>>     Am 23.11.2017 um 23:03 schrieb Rowland Penny via samba:
>>
>>         On Thu, 23 Nov 2017 21:46:17 +0000
>>         Arnab Roy <arniekol at gmail.com <mailto:arniekol at gmail.com>> wrote:
>>
>>             The systemd unit file looks like as follows:
>>
>>             [Unit]
>>             Description=Winbindd Service
>>             After=syslog.target network.target
>>
>>             [Service]
>>             Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
>>             Type=notify
>>             NotifyAccess=all
>>             PIDFile=/var/run/samba/
>>
>>
>>         I know nothing about systemd, but, shouldn't there be something
>> like
>>         'winbind.pid' on the end of the line above?
>>
>>
>>     there should be no PIDFile line at all - the whole point of
>>     Type=notify is a direct communication channel where a non-forking
>>     main-pid tells systemd "i am ready to accept connections"
>>
>
>
> --
> 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