From 9600f725c279e7a2ee604111cba7794c17d12ab8 Mon Sep 17 00:00:00 2001 From: Christoph Berg <myon@debian.org> Date: Wed, 2 Mar 2022 10:15:46 +0100 Subject: [PATCH] Set /var/run/mysqld to 755 on Ubuntu jammy --- debian/tests/installcheck | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/tests/installcheck b/debian/tests/installcheck index 4612308..c365348 100755 --- a/debian/tests/installcheck +++ b/debian/tests/installcheck @@ -12,6 +12,9 @@ MYSQL="mysql --defaults-file=/etc/mysql/debian.cnf -v mysql" service mariadb start || service mysql start || exit 77 + # work around bug in Ubuntu jammy (2022-03-02) + test -d /var/run/mysqld && chmod -v 755 /var/run/mysqld + # Create the MySQL test database and user. echo "== creating the MySQL test database" cat debian/tests/mysql.testschema.sql | $MYSQL -- GitLab