aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSofer Athlan-Guyot <sathlang@redhat.com>2017-11-06 11:45:20 +0100
committerAthlan-Guyot sofer <sathlang@redhat.com>2017-11-08 11:36:22 +0000
commit211149c31496789c71c777f20d90685959270aa7 (patch)
tree52bf8c9ec386c048efba7c613d27ed3a72398934
parent6ae90da66d6125be58651e680f1fb603134087fe (diff)
Fix wrong permission on database during mysql_init tasks.
During mysql initialization, mysql needs to be able to write in the database directory. Change-Id: I82c2e46f66ab01021cb910eb7e0d17c81b00fa09 Closes-bug: #1730349 (cherry picked from commit 0d65e380caf89d8c486e8ea87571298a6687b680)
-rw-r--r--docker/services/database/mysql.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/services/database/mysql.yaml b/docker/services/database/mysql.yaml
index 174acd4..aeba7d7 100644
--- a/docker/services/database/mysql.yaml
+++ b/docker/services/database/mysql.yaml
@@ -202,7 +202,7 @@ outputs:
volumes:
list_concat:
-
- - /var/lib/mysql:/var/lib/mysql/:ro
+ - /var/lib/mysql:/var/lib/mysql/:rw
- /var/log/containers/mysql:/var/log/mariadb
- /var/lib/config-data/mysql/root:/root:ro #provides .my.cnf
- if: