Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
resource-agents.33228
0001-mariadb-Remove-obsolete-DEBUG_LOG-function...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-mariadb-Remove-obsolete-DEBUG_LOG-functionality-1191.patch of Package resource-agents.33228
From bc18653e637278e990e6b67433701beed2b04b26 Mon Sep 17 00:00:00 2001 From: Peter Varkoly <varkoly@suse.com> Date: Wed, 6 Jul 2022 10:46:18 +0200 Subject: [PATCH 1/1] mariadb: Remove obsolete DEBUG_LOG functionality #1191 --- heartbeat/mariadb.in | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/heartbeat/mariadb.in b/heartbeat/mariadb.in index 5a39ccb6..a8f06e4d 100644 --- a/heartbeat/mariadb.in +++ b/heartbeat/mariadb.in @@ -994,28 +994,6 @@ mysql_validate() { ####################################################################### - -########################################################################## -# If DEBUG_LOG is set, make this resource agent easy to debug: set up the -# debug log and direct all output to it. Otherwise, redirect to /dev/null. -# The log directory must be a directory owned by root, with permissions 0700, -# and the log must be writable and not a symlink. -########################################################################## -DEBUG_LOG="/tmp/mysql.ocf.ra.debug/log" -if [ "${DEBUG_LOG}" -a -w "${DEBUG_LOG}" -a ! -L "${DEBUG_LOG}" ]; then - DEBUG_LOG_DIR="${DEBUG_LOG%/*}" - if [ -d "${DEBUG_LOG_DIR}" ]; then - exec 9>>"$DEBUG_LOG" - exec 2>&9 - date >&9 - echo "$*" >&9 - env | grep OCF_ | sort >&9 - set -x - else - exec 9>/dev/null - fi -fi - case "$1" in meta-data) meta_data exit $OCF_SUCCESS;; -- 2.35.3
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