1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb
Martin Schwenke 8b9f464420 ctdb-daemon: Call setproctitle_init()
Commit 19c82c19c0 changed the behaviour
of prctl_set_comment() so it now calls setproctitle(3bsd) by default.

In some Linux distributions (e.g. Rocky Linux 8.8), this results in
messages like this spamming the logs:

  ctdbd: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.

Most Samba daemons seem to call setproctitle_init(), so do it here.

In the longer term CTDB should also switch to using lib/util's
process_set_title(), like the rest of Samba, for more flexible process
names.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15479

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Thu Sep 21 00:46:50 UTC 2023 on atb-devel-224
2023-09-21 00:46:50 +00:00
..
client
cluster
common ctdb-common: Set immediate mode for pcap capture 2023-08-15 10:53:52 +00:00
config ctdb-scripts: Support script logging to stderr 2023-07-19 09:01:33 +00:00
database
doc ctdb-doc: Fix documentation for ctdb event status 2023-08-07 09:43:33 +00:00
event ctdb-tools: Fix CID 1539212 - signed/unsigned issue 2023-08-07 08:43:39 +00:00
failover
ib
include
protocol
server ctdb-daemon: Call setproctitle_init() 2023-09-21 00:46:50 +00:00
tcp
tests ctdb-tools: Fix CID 1539212 - signed/unsigned issue 2023-08-07 08:43:39 +00:00
tools ctdb: Do not use egrep 2023-07-19 09:01:33 +00:00
utils ctdb-utils: Drop unused scsi_io.c source file 2023-07-19 09:01:33 +00:00
.bzrignore
.gitignore
configure
configure.rpm
COPYING
Makefile
README
wscript ctdb-common: Set immediate mode for pcap capture 2023-08-15 10:53:52 +00:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.