AppArmor support
Bug #1807522 reported by
Noel McLoughlin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Expired
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 18.04 stack.sh failed because MySQL cannot write to /var/lib/mysql/
This is caused by Apparmor. The following workaround was required-
$ echo '/var/lib/mysql/ r,' > /etc/apparmor.
$ echo '/var/lib/mysql/** rwk,' > /etc/apparmor.
To post a comment you must log in.
Correction.
$ echo '/var/lib/mysql/ r,' > /etc/apparmor. d/local/ usr.sbin. mysqld d/local/ usr.sbin. mysqld
$ echo '/var/lib/mysql/** rwk,' >> /etc/apparmor.