Skip to content

Commit ea2a020

Browse files
committed
Some apparmor craziness
1 parent 6b8f494 commit ea2a020

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis_mysql57.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ apt-get update
1212
apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew -y install mysql-server libmysqlclient-dev
1313

1414
mysql_upgrade -u root --force --upgrade-system-tables
15+
16+
# Replace the final line of the mysql apparmor, allowing /etc/mysql/*.pem
17+
sed -ie '$ s|}|\
18+
/etc/mysql/*.pem r,\
19+
}|' /etc/apparmor.d/usr.sbin.mysqld
20+
service apparmor restart

0 commit comments

Comments
 (0)