** 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
** 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
** 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
** 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
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
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
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.
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:
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
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
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
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.
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:
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
** 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
15 matches
Mail list logo