In lib/util/become_daemon.c, daemon_ready() DEBUG logging needs a new line. 128 _PUBLIC_ void daemon_ready(const char *daemon) 129 { 130 if (daemon == NULL) { 131 daemon = "Samba"; 132 } 133 #ifdef HAVE_SYSTEMD 134 sd_notifyf(0, "READY=1\nSTATUS=%s: ready to serve connections...", daemon); 135 #endif 136 DEBUG(0, ("STATUS=daemon '%s' finished starting up and ready to serve connections", daemon)); 137 } BTW, are the 'STATUS=' in these DEBUGs necessary? Copy and paste error from sd_notifyf?
So the new line issue is already fixed (55c279f0). The 'STATUS=' occurrences are still there though.
Created attachment 13939 [details] Fix
Created attachment 13947 [details] Fix 2 Updated patch with s-o-b.
Created attachment 14960 [details] patch for 4.9
Created attachment 14961 [details] patch for 4.8
This has already been fixed in Samba 4.10
Created attachment 14964 [details] patch for 4.9 and 4.8
Karolin, please apply the patch to the relevant branches. Thanks!
(In reply to Andreas Schneider from comment #8) Pushed to autobuild-v4-{9,8}-test.
(In reply to Karolin Seeger from comment #9) Pushed to both branches. Closing out bug report. Thanks!