1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/nmbd
Samuel Cabrero 52744d35a3 nmbd: Reduce the wait interface loop sleep time
Under some circumstances the network-online.target can be reached
without an IPv4 address, for example when using systemd-networkd and
having systemd-networkd-wait-online.service disabled. This will trigger
a five seconds sleep which seems a bit excessive. It is specially
critical when winbind.service is enabled as it won't be started until
nmbd.service is running, delaying the systemd-logind.service five seconds.

Reduce the sleep time from 5 seconds to 250ms to exit the loop as soon
as possible.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 14 20:52:47 UTC 2021 on sn-devel-184
2021-05-14 20:52:47 +00:00
..
asyncdns.c debug: Use debuglevel_(get|set) function 2018-11-08 11:03:11 +01:00
nmbd_become_dmb.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_become_lmb.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_browserdb.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_browsesync.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_elections.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_incomingdgrams.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_incomingrequests.c s3: nmbd: Fix strict overflow checking compiler warning. 2018-04-05 23:05:39 +02:00
nmbd_lmhosts.c libnbt: lmhosts xfile->stdio 2016-12-11 11:17:24 +01:00
nmbd_logonnames.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_mynames.c nmbd: Move my_netbios_names() to nmbd 2021-03-16 17:09:32 +00:00
nmbd_namelistdb.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
nmbd_namequery.c
nmbd_nameregister.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_namerelease.c
nmbd_nodestatus.c
nmbd_packets.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_processlogon.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_proto.h nmbd: Move my_netbios_names() to nmbd 2021-03-16 17:09:32 +00:00
nmbd_responserecordsdb.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
nmbd_sendannounce.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_serverlistdb.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_subnetdb.c nmbd: Reduce the wait interface loop sleep time 2021-05-14 20:52:47 +00:00
nmbd_synclists.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd_winsproxy.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_winsserver.c smbdotconf: mark "wins hook" with substitution="1" 2019-11-27 10:25:36 +00:00
nmbd_workgroupdb.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
nmbd.c nmbd: Reduce the wait interface loop sleep time 2021-05-14 20:52:47 +00:00
nmbd.h nmbd: Reduce the wait interface loop sleep time 2021-05-14 20:52:47 +00:00
wscript_build s3:nmbd: Migrate nmbd to new cmdline option parser 2021-04-29 03:58:37 +00:00