Skip to content
Permalink
Browse files
Apply debian/patches/61_replace_dash_with_bash_mbug675185.dpatch
We have carried along this patch as a patch inside our sources
since 2012 (commit cfd4fcb).

The validity of this has thus been vetted in production for years
and the review done now did not find otherwise.

A race in dash causes mysqld_safe to occasionally loop infinitely.
Fix by using bash instead.

https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/675185

As this is the last patch, we can also clean away usage of dpatch.
  • Loading branch information
knielsen authored and ottok committed May 28, 2018
1 parent 64094e1 commit c902d5a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 24 deletions.
@@ -8,7 +8,6 @@ Build-Depends: bison,
debhelper (>= 9),
dh-apparmor,
dh-systemd,
dpatch,
gdb,
libaio-dev [linux-any],
libboost-dev,

This file was deleted.

This file was deleted.

@@ -182,6 +182,6 @@ get-orig-source:
# white list file only starting from Debian Stretch and Ubuntu Xenial.
# To find more, grep build logs for 'but is not installed to anywhere'.
%:
dh $@ --parallel --with dpatch --with systemd --list-missing
dh $@ --parallel --with systemd --list-missing

# vim: ts=8
@@ -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
#

0 comments on commit c902d5a

Please sign in to comment.