Not sure why this only happens in some Linux distributions/build environments, but in a Rocky Linux 8.8 container, messages like this are flooding the logs: ctdbd: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor. This is because commit 19c82c19c009eefe975ae95c8b709fc93f5f4c39 changed the behaviour of prctl_set_comment() so it now calls setproctitle(3bsd) by default. The simplest fix is, like smbd and winbind, to call setproctitle_init(). This is safe because the libreplace replacement function exists and is a no-op. This looks related to BZ9863, which appears to never have been resolved. However, that one is a build failure. Here's we'll just fix it for CTDB. MR to come...
This bug was referenced in samba master: 8b9f464420b66cebaf00654cf8b19165b301b8b6
https://gitlab.com/samba-team/samba/-/merge_requests/3274
Created attachment 18115 [details] Patch for v4-19-test and v4-18-test Patch cherry-picks cleanly into both branches. Build and smoke-tested. Patch is also tested in the original Rocky 8.8 container and solves the problem there.
Reassigning to Jule for inclusion in 4.18 and 4.19
Pushed to autobuild-v4-{19,18}-test.
This bug was referenced in samba v4-19-test: 147050697e1a2f6908826eaab4d70808fd484c3f
This bug was referenced in samba v4-18-test: 653984f4a6d3af16597ccb70f23d09e6ed87d1f9
Closing out bug report. Thanks!
This bug was referenced in samba v4-19-stable (Release samba-4.19.2): 147050697e1a2f6908826eaab4d70808fd484c3f
This bug was referenced in samba v4-18-stable (Release samba-4.18.9): 653984f4a6d3af16597ccb70f23d09e6ed87d1f9