From 2790de97f1600827de7ed8aaa7605005685018b1 Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Wed, 12 Mar 2014 12:19:25 -0300 Subject: [PATCH] Correcting the right path to mysql log in Fedora 19 The mysql log is wrong in Fedora 19+ pointing to /var/lib/mysqld.log while the correct is /var/log/mysqld.log. This make the job fail if you're running Fedora with mysql. This error was inserted by https://review.openstack.org/#/c/55827/ Change-Id: I63dd494f1ae105ad007344dea40936ab283d55a9 --- devstack-vm-gate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 2a0b3e68..7090d0d4 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -280,7 +280,7 @@ else # the path are different for fedora and red hat. if [ -f /usr/bin/yum ]; then POSTGRES_LOG_PATH="-d /var/lib/pgsql" - MYSQL_LOG_PATH="-f /var/lib/mysqld.log" + MYSQL_LOG_PATH="-f /var/log/mysqld.log" else POSTGRES_LOG_PATH="-d /var/log/postgresql" MYSQL_LOG_PATH="-d /var/log/mysql"