[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2012-05-01 Thread Jamie Strandboge
** Tags removed: apparmor -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in Ubuntu. https://bugs.launchpad.net/bugs/597490 Title: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2012-05-01 Thread Jamie Strandboge
** Tags removed: apparmor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/597490 Title: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor To manage

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-28 Thread Chuck Short
** Changed in: mysql-dfsg-5.1 (Ubuntu) Importance: Undecided = Wishlist ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New = Triaged -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor https://bugs.launchpad.net/bugs/597490 You received this

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-28 Thread Chuck Short
** Changed in: mysql-dfsg-5.1 (Ubuntu) Importance: Undecided = Wishlist ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New = Triaged -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor https://bugs.launchpad.net/bugs/597490 You received this

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Serge Hallyn
You'll need to add a rule in /etc/apparmor.d/usr.sbin.mysqld to allow mysqld access to your chosen datadir. Something like /opt/mysqld/** rwk, underneath the line: /var/lib/mysqld/* rwk, -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Serge Hallyn
Please see https://wiki.ubuntu.com/AppArmor for more information. ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New = Confirmed -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor https://bugs.launchpad.net/bugs/597490 You received this bug

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Jamie Strandboge
As Serge mentioned, you have chosen a datadir that is site-specific, uncommon and different from the default on Ubuntu. You can configure AppArmor for your environment in the /etc/apparmor.d/usr.sbin.mysqld profile. Feel free to see https://wiki.ubuntu.com/DebuggingAppArmor for more information.

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Andres Rodriguez
Hi guys, I do know why is the error and what to do for the fix it. However, the reason why I filed the Bug is because there should be a message or any hint saying that the installation failed and it might be because of AppArmor. This was discussed with Jos as follows: 19:36 jiboumans_ RoAkSoAx:

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Serge Hallyn
Seems like mysqld would need to hook into the audit system. It could then detect access failures due to either selinux or apparmor. This however seems like a large upstream endeavor. -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Serge Hallyn
You'll need to add a rule in /etc/apparmor.d/usr.sbin.mysqld to allow mysqld access to your chosen datadir. Something like /opt/mysqld/** rwk, underneath the line: /var/lib/mysqld/* rwk, -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Serge Hallyn
Please see https://wiki.ubuntu.com/AppArmor for more information. ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New = Confirmed -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor https://bugs.launchpad.net/bugs/597490 You received this bug

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Jamie Strandboge
As Serge mentioned, you have chosen a datadir that is site-specific, uncommon and different from the default on Ubuntu. You can configure AppArmor for your environment in the /etc/apparmor.d/usr.sbin.mysqld profile. Feel free to see https://wiki.ubuntu.com/DebuggingAppArmor for more information.

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Andres Rodriguez
Hi guys, I do know why is the error and what to do for the fix it. However, the reason why I filed the Bug is because there should be a message or any hint saying that the installation failed and it might be because of AppArmor. This was discussed with Jos as follows: 19:36 jiboumans_ RoAkSoAx:

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-23 Thread Serge Hallyn
Seems like mysqld would need to hook into the audit system. It could then detect access failures due to either selinux or apparmor. This however seems like a large upstream endeavor. -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

[Bug 597490] Re: [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor

2010-06-22 Thread Jamie Strandboge
** Tags added: apparmor -- [lucid] MySQL fails to install db (mysql_install_db) in specified directory due to AppArmor https://bugs.launchpad.net/bugs/597490 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list