ctdb-config: enable syslog by default
authorRafael David Tinoco <rafaeldtinoco@ubuntu.com>
Fri, 18 Apr 2025 10:02:55 +0000 (13:02 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 18 Apr 2025 10:02:55 +0000 (13:02 +0300)
commit5dfa1389643ae613b33cf8b77c95af67f5a59813
treed94fd4dd8a753f01d71730a76824872ff65521fc
parentd580740537eeb64538a7cc19954a2cb3d9389146
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