summaryrefslogtreecommitdiff
path: root/debian/patches/replace_dash_with_bash_mbug675185.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-10-02 09:28:13 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-10-02 09:28:13 +0300
commitaa192af43acd89b4c76274006232670d1802ab86 (patch)
treecd41c09f72a1b65214f433cb03768e1a50d22c3a /debian/patches/replace_dash_with_bash_mbug675185.patch
downloadmariadb-10.1-aa192af43acd89b4c76274006232670d1802ab86.tar.gz
Imported mariadb 10.1.26-1debian/10.1.26-1debian
Diffstat (limited to 'debian/patches/replace_dash_with_bash_mbug675185.patch')
-rw-r--r--debian/patches/replace_dash_with_bash_mbug675185.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/replace_dash_with_bash_mbug675185.patch b/debian/patches/replace_dash_with_bash_mbug675185.patch
new file mode 100644
index 0000000..53d8da1
--- /dev/null
+++ b/debian/patches/replace_dash_with_bash_mbug675185.patch
@@ -0,0 +1,25 @@
+From: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
+Date: Thu, 10 Aug 2017 20:40:28 +0200
+Subject: replace_dash_with_bash_mbug675185
+
+## 61_replace_dash_with_bash_mbug675185.dpatch by <knielsen@knielsen-hq.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: 61_replace_dash_with_bash_mbug675185
+## DP: A race in dash causes mysqld_safe to occasionally loop infinitely.
+## DP: Fix by using bash instead.
+## DP: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/675185
+---
+ scripts/mysqld_safe.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
+index 027d062..98804cc 100644
+--- a/scripts/mysqld_safe.sh
++++ b/scripts/mysqld_safe.sh
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
+ # This file is public domain and comes with NO WARRANTY of any kind
+ #