Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:E
resource-agents
0005-Medium-CTDB-Use-logging-syntax-for-ctdbd-b...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Medium-CTDB-Use-logging-syntax-for-ctdbd-bsc-981863.patch of Package resource-agents
From 40d21e3c6fee1bc0c47fab0bfaa175e642adb341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se> Date: Wed, 1 Feb 2017 14:55:09 +0100 Subject: [PATCH 5/6] Medium: CTDB: Use --logging syntax for ctdbd (bsc#981863) The --logfile parameter in ctdb has been replaced with --logging, which allows for file: or syslog:. --- heartbeat/CTDB | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heartbeat/CTDB b/heartbeat/CTDB index b23ffae5..9fe8f185 100755 --- a/heartbeat/CTDB +++ b/heartbeat/CTDB @@ -572,9 +572,9 @@ ctdb_start() { # Use logfile by default, or syslog if asked for local log_option - log_option="--logfile=$OCF_RESKEY_ctdb_logfile" + log_option="--logging=file:$OCF_RESKEY_ctdb_logfile" if [ "$OCF_RESKEY_ctdb_logfile" = "syslog" ]; then - log_option="--syslog" + log_option="--logging=syslog" elif [ ! -d "$(dirname $OCF_RESKEY_ctdb_logfile)" ]; then # ensure the logfile's directory exists, otherwise ctdb will fail to start mkdir -p $(dirname $OCF_RESKEY_ctdb_logfile) -- 2.12.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor