[Bug 934013] Re: Mysql fails to start after upgrade to precise

2013-12-16 Thread Alex Ross
I had to add the /run/mysql/ directory to apparmor after upgrading to Ubuntu 12.04.3 LTS with 5.5.34-0ubuntu0.12.04.1 -- /run/mysqld/ r, /run/mysqld/** rw, -- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-05-16 Thread Ivan Ivanov
so the question is - is it an apparmor bug or mysql's ? The fix is quite easy - this should be fixed asap! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/934013 Title: Mysql fails to start after upg

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-05-15 Thread Josef Prause
After upgrade to 12.04 I hit the same problem. I used Ivan's solution, see #9, an the problem has been fixed. Thanks, Ivan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/934013 Title: Mysql fails to

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-05-14 Thread Ivan Ivanov
short version of the above fix: ( my OS is Ubuntu 12.04 precise with mysql-server-5.5.22-0ubuntu1 ) -- sudo touch /etc/apparmor.d/local/usr.sbin.mysqld sudo service apparmor restart -- if that does not work: -- sudo touch /etc/apparmor.d/local/usr.sbin.mysqld sudo aptitude purge apparmor apparmor-

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-05-14 Thread Ivan Ivanov
I am using mysql server package 5.5.22-0ubuntu1 the fix above says it fixed this bug which is named "Mysql fails to start after upgrade to precise" I dont think so: Bug symtoms: - my mysqld still does not want to start (even when I use a more recent mysql-server version than the one with the

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Launchpad Bug Tracker
This bug was fixed in the package mysql-5.5 - 5.5.20-0ubuntu3 --- mysql-5.5 (5.5.20-0ubuntu3) precise; urgency=low * d/rules,d/mysql-server-5.5.files: Restoring apport hook and apparmor profile (LP: #934013) * d/mysql-server-5.5.postrm: restoring postrm debhelper token to

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Clint Byrum
Hi Mario, thanks for testing this! It looks like the apparmor profile was accidentally dropped somewhere in the 5.1 -> 5.5 transition. The next upload should fix it. ** Changed in: mysql-5.5 (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member o

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/mysql-5.5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/934013 Title: Mysql fails to start after upgrade to precise To manage notifications about this bug go to: https:/

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Clint Byrum
** Changed in: mysql-5.5 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/934013 Title: Mysql fails to start after upgrade to precise To manage notifications

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Mario Limonciello
** Tags added: dist-upgrade -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/934013 Title: Mysql fails to start after upgrade to precise To manage notifications about this bug go to: https://bugs.laun

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Mario Limonciello
I was also able to get it to start by manually adding these lines to the apparmor profile in /etc/apparmor.d/usr.sbin.mysqld: /run/mysqld/mysqld.pid w, /run/mysqld/mysqld.sock w, There are already lines for /var/run/mysqld, but it appears that apparmor is not following the symlink that was p

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Mario Limonciello
lastly this appears to not be new in that it affected mysql 5.1 as well. bug 880339 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/934013 Title: Mysql fails to start after upgrade to precise To man

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-17 Thread Mario Limonciello
Worth noting that before upgrade I had mysql server 5.1 installed. After upgrade, it's no longer installed, but it wasn't purged and it still owns the conffile that is supposed to contain the apparmor profile: supermario@supermario:~/here$ dpkg -S /etc/apparmor.d/usr.sbin.mysqld mysql-server-5.1

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-16 Thread Mario Limonciello
Additionally, if I tear down the apparmor profiles loaded and then comment out the apparmor line in the mysql upstart job, it's able to start. It only hangs because of the apparmor profiles. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 934013] Re: Mysql fails to start after upgrade to precise

2012-02-16 Thread Mario Limonciello
** Tags added: lucid2precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/934013 Title: Mysql fails to start after upgrade to precise To manage notifications about this bug go to: https://bugs.lau