ctdb-config: enable syslog by default
authorRafael David Tinoco <rafaeldtinoco@ubuntu.com>
Thu, 17 Jul 2025 10:52:35 +0000 (13:52 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 17 Jul 2025 10:52:35 +0000 (13:52 +0300)
commit435da3aab9a306d7f8aac02f0a06ee2ba0a69086
tree3db3526a6e725328d73cd7a88010b199bee8a542
parent1380614c8eb4c3c89a3805b1257f9d83d8e5003d
ctdb-config: enable syslog by default

Bug-Debian: https://bugs.debian.org/929931
Bug-Ubuntu: https://bugs.launchpad.net/bugs/722201
Last-Update: 2022-03-24
Forwarded: not-needed

CTDB uses /var/log/ctdb/ directory for the default log files. With
syslog disabled, systemd journal is not able to correctly inform
errors happening during service initialization.

Upstream community creates generic config files to be used by different
distributions, so this change makes no big difference to be accepted by
upstream.

With this patch the end user will be able to identify initialization
errors by executing:

  systemctl status ctdb.service

or to follow ctdb logs by executing:

  journalctl -f -u ctdb

Signed-off-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Gbp-Pq: Name ctdb-config-enable-syslog-by-default.patch
ctdb/config/ctdb.conf