diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:20:02 +0000 |
commit | 0a354ad0b2c9eaaa204c31db478da109dc6d2a8b (patch) | |
tree | 2467caa8ad20a7fca31bef64224e41a4238db0c9 /debian/patches/ctdb-config-enable-syslog-by-default.patch | |
parent | Adding upstream version 2:4.20.0+dfsg. (diff) | |
download | samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.tar.xz samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.zip |
Adding debian version 2:4.20.0+dfsg-1~exp1.debian/2%4.20.0+dfsg-1_exp1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/ctdb-config-enable-syslog-by-default.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/ctdb-config-enable-syslog-by-default.patch b/debian/patches/ctdb-config-enable-syslog-by-default.patch new file mode 100644 index 0000000..3ab746d --- /dev/null +++ b/debian/patches/ctdb-config-enable-syslog-by-default.patch @@ -0,0 +1,42 @@ +ctdb-config: enable syslog by default + +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> +- +Author: Rafael David Tinoco <rafaeldtinoco@ubuntu.com> +Bug-Debian: https://bugs.debian.org/929931 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/722201 +Last-Update: 2022-03-24 +--- + ctdb/config/ctdb.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/ctdb/config/ctdb.conf b/ctdb/config/ctdb.conf +index 8e1b3760973..def0803578f 100644 +--- a/ctdb/config/ctdb.conf ++++ b/ctdb/config/ctdb.conf +@@ -7,6 +7,6 @@ + # Enable logging to syslog +- # location = syslog ++ location = syslog + + # Default log level +- # log level = NOTICE ++ log level = NOTICE + |