Comment 19 for bug 375371

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

No! These build tests start their own private mysqld as the user running the build step, not as mysql.

Further, that mysqld needs to be able to write to the directory during these tests, so the readonly restriction would prevent that.

To be fair, if they build-depend on mysql-server-core, and not mysql-server, then the apparmor profile won't get loaded on cleanroom builds, and so there is no need for any of this.

But its fairly simply to rebase mysqld and get it to run outside the apparmor profile for private build tests.

Here is my proposed fix for the PHP issue for instance:

https://code.edge.launchpad.net/~clint-fewbar/ubuntu/maverick/php5/fix-mysql-tests-apparmor/+merge/35562