After trying Jurgen's fix:
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld
/etc/apparmor.d/disable/usr.sbin.mysqld
sudo service mysql start
I still get this in syslog:
Aug 13 07:11:27 AlSSD kernel: [ 1237.394119] audit_printk_skb:
RE #19
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/880339/comments/19
Are you recommending allowing any user on the system the ability to
write to your my.cnf?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
No worries martin, thanks for responding!
** Tags removed: rls-p-tracking
** Changed in: mysql-5.5 (Ubuntu Precise)
Status: Incomplete = Invalid
** Changed in: mysql-5.5 (Ubuntu)
Status: Incomplete = Invalid
--
You received this bug notification because you are a member of
** Changed in: mysql-5.5 (Ubuntu)
Milestone: quantal-alpha-1 = quantal-alpha-2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage notifications
I have got into this problem after purge reinstallation of mysql server 5.5 in
precise as well.
It has been working for some time until I have created new database and couple
of tables I could not restart database.
I have got this error:
Jun 2 19:34:35 PCEUBU1 kernel: [38487.429346] type=1400
I am sorry - I had changed chmod 644 /etc/mysql/my.cnf to 646 - my bad.
solved
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage notifications
** Changed in: mysql-5.5 (Ubuntu Precise)
Milestone: ubuntu-12.04 = ubuntu-12.04.1
** Changed in: mysql-5.5 (Ubuntu)
Milestone: ubuntu-12.04 = quantal-alpha-1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Not 100% sure, but it seems quite a lot of bugs in Launchpad are causes by this
bug.
E.g. see bug #982303 with additional information.
People are turning off apparmor because of this.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Ted, I believe this was fixed in the mysql 5.5 packages so that on
upgrade the new apparmor profile would replace the old 5.1 profile. Its
possible that because you've modified the file, you didn't get the new
stock 5.5 file. You should have a '.dpkg-dist' version in the same
directory which has
I'm getting this in precise as well. Here's the output from kern.log:
Apr 13 23:01:16 order kernel: [1654002.272316] type=1400
audit(1334383276.781:120): apparmor=DENIED operation=mknod parent=1
profile=/usr/sbin/mysqld name=/run/mysqld/mysqld.sock pid=32364
comm=mysqld requested_mask=c
As a followup, adding the following lines to the mysql apparmour file
fixed the problem:
/run/mysqld/mysqld.pid w,
/run/mysqld/mysqld.sock w,
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
George, can you provide any more details? Precise releases in less than
a month.. it would be great to make sure we don't release it with a bug
in the apparmor profile. Thanks!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: mysql-5.5 (Ubuntu Precise)
Milestone: ubuntu-12.04-beta-2 = ubuntu-12.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage
George can you paste the output of this command after you see the denials?
$ grep denied /var/log/kern.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
I am also seeing the exact issue on precise (12.04 built on Mar 21, 2012
-- I am using ubuntu ec2 ami ami-d032bfe0). disabling apparmor for mysql
5.5 makes it work. I can attach my.cnf if you would like it. The exact
same configuration with ubuntu 11.10 (default mysql 5.1.58) works fine.
--
You
** Changed in: mysql-5.5 (Ubuntu Precise)
Assignee: Andres Rodriguez (andreserl) = (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To
Jurgen, are you still affected by this? MySQL 5.1 has been removed from
precise, so this would need to be re-tried with MySQL 5.5. Also the
apparmor profile was actually missing from early versions of 5.5 so that
may have been another issue, and has been fixed.
Please re-try w/ mysql 5.5.
Hi Andres. It's funny, but my amarok is not using its own instance, nor
storing its files elswhere:
sudo ls -alh /var/lib/mysql/
totaal 21M
drwx-- 4 mysql mysql 4.0K 2012-03-12 19:39 .
drwxr-xr-x 76 root root 4.0K 2011-10-21 22:10 ..
drwx-- 2 mysql mysql 4.0K 2012-03-10 19:07
Hi Andres. It's funny, but my amarok is not using its own instance, nor
storing its files elswhere:
sudo ls -alh /var/lib/mysql/
totaal 21M
drwx-- 4 mysql mysql 4.0K 2012-03-12 19:39 .
drwxr-xr-x 76 root root 4.0K 2011-10-21 22:10 ..
drwx-- 2 mysql mysql 4.0K 2012-03-10 19:07
Hi Jürgen,
So I have tried to reproduce this bug again but have been unable to.
However, the only thing that comes to my mind is that maybe amarok is
probably installing a the datadir in a different path from the location
that is usually used (./var/lib/mysql) or maybe trying to spawn its own
Hi Jürgen,
So I have tried to reproduce this bug again but have been unable to.
However, the only thing that comes to my mind is that maybe amarok is
probably installing a the datadir in a different path from the location
that is usually used (./var/lib/mysql) or maybe trying to spawn its own
** Changed in: mysql-5.1 (Ubuntu)
Milestone: ubuntu-12.04-beta-1 = ubuntu-12.04-beta-2
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs
** Changed in: mysql-5.1 (Ubuntu)
Milestone: ubuntu-12.04-beta-1 = ubuntu-12.04-beta-2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage
** Tags added: rls-p-tracking
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage notifications about this bug go to:
** Tags added: rls-p-tracking
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage notifications about this bug go to:
** Changed in: mysql-5.1 (Ubuntu Precise)
Milestone: precise-alpha-1 = ubuntu-12.04-beta-1
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs
** Changed in: mysql-5.1 (Ubuntu Precise)
Milestone: precise-alpha-1 = ubuntu-12.04-beta-1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage
I was unable to reproduce it again, but looking into a bit more closely.
Once more data is gathered I'll provide an update.
** Changed in: mysql-5.1 (Ubuntu Precise)
Status: Confirmed = Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server Team,
I was unable to reproduce it again, but looking into a bit more closely.
Once more data is gathered I'll provide an update.
** Changed in: mysql-5.1 (Ubuntu Precise)
Status: Confirmed = Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Hi guys,
I'll do another clean install and test whether a see this or not.
Cheers.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
Hi guys,
I'll do another clean install and test whether a see this or not.
Cheers.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To manage
Sorry Andres for forgetting to reply to #3, but no, I have only one
database on that PC, and that's Amarok's DB, in default location. My
home PC sleeps right now apparently; if you still need it, please let me
know, and I'll send you my apparmor profile.
--
You received this bug notification
Sorry Andres for forgetting to reply to #3, but no, I have only one
database on that PC, and that's Amarok's DB, in default location. My
home PC sleeps right now apparently; if you still need it, please let me
know, and I'll send you my apparmor profile.
--
You received this bug notification
I have the same issue. Is there a resolution yet? I've already checked
for unmerged configuration files and there are none. My dmesg contains a
bunch of these:
[611629.676337] init: mysql main process (20978) terminated with status 1
[611629.676358] init: mysql main process ended, respawning
I have the same issue. Is there a resolution yet? I've already checked
for unmerged configuration files and there are none. My dmesg contains a
bunch of these:
[611629.676337] init: mysql main process (20978) terminated with status 1
[611629.676358] init: mysql main process ended, respawning
Funny, because I did a clean install too. I cannot give you more info then
what I gave you before, as far as I know.
Presently, apparmor is disabled on mysql. Anything more I can do for you?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is
Hi Jurgen,
Have you installed any databases in a different location than the
default one? Cause I've seen issues like yours but only when changing
the location of the databases. Other than that, I have re-tested this in
another clean install without any issues. Could you please attach the
Funny, because I did a clean install too. I cannot give you more info then
what I gave you before, as far as I know.
Presently, apparmor is disabled on mysql. Anything more I can do for you?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
Hi Jurgen,
Have you installed any databases in a different location than the
default one? Cause I've seen issues like yours but only when changing
the location of the databases. Other than that, I have re-tested this in
another clean install without any issues. Could you please attach the
Hi Jurgen,
Thank you for taking the time to report bugs and trying to make Ubuntu
Server better.
Unfortunately, I have been unable to reproduce this bug report in
oneiric. I have installed mysql-server in a clean ubuntu installation
and I have not received the apparmor errors and mysql server is
Hi Jurgen,
Thank you for taking the time to report bugs and trying to make Ubuntu
Server better.
Unfortunately, I have been unable to reproduce this bug report in
oneiric. I have installed mysql-server in a clean ubuntu installation
and I have not received the apparmor errors and mysql server is
** Changed in: mysql-5.1 (Ubuntu Precise)
Assignee: (unassigned) = Andres Rodriguez (andreserl)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile
** Changed in: mysql-5.1 (Ubuntu Precise)
Assignee: (unassigned) = Andres Rodriguez (andreserl)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880339
Title:
AppArmor profile needs update
To
** Also affects: mysql-5.1 (Ubuntu Oneiric)
Importance: Undecided
Status: New
** Also affects: mysql-5.1 (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: mysql-5.1 (Ubuntu Precise)
Milestone: None = precise-alpha-1
** Changed in: mysql-5.1 (Ubuntu
** Also affects: mysql-5.1 (Ubuntu Oneiric)
Importance: Undecided
Status: New
** Also affects: mysql-5.1 (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: mysql-5.1 (Ubuntu Precise)
Milestone: None = precise-alpha-1
** Changed in: mysql-5.1 (Ubuntu
45 matches
Mail list logo