If your mysql is installed out of /opt, it is not an Ubuntu version. :)
** Description changed:
The problem seems to be caused by Apparmor. For example in
/var/log/syslog:
Mar 19 20:04:39 lyra kernel: [ 6979.352113] audit(1205957079.490:28):
operation=
"inode_permission" request_mask="r::" denied_mask="r::"
name="/opt/share/mysql/english/errmsg.sys" pid=3861 profile="/usr/sbin/mysqld"
namespace="default"
Mar 19 20:04:39 lyra mysqld[3863]: 080319 20:04:39 [ERROR] Can't find
messagefile '/usr/share/mysql/english/errmsg.sys'
Mar 19 20:04:39 lyra mysqld[3863]: 080319 20:04:39 [ERROR] AbortingMar 19
20:04:39 lyra mysqld[3863]: Mar 19 20:04:39 lyra mysqld_safe[3865]: ended
- Did
-
- apt-get remove --purge apparmor
- apt-get -f install
+ [deleted AppArmor removal example]
+ please instead of removing apparmor, just disable a profile:
+ sudo touch /etc/apparmod.d/disable/usr.sbin.mysqld
+ sudo /etc/init.d/apparmor reload
the mysql server components then upgraded OK and the server started.
I don't know about Apparmor, but from the looks of syslog, it looks as
though there was a problem with the apparmor acls; I noticed that during
the mysql server install, a script appears to load up the apparmor rules
and these rules appear to be preventing a clean mysqld upgrade.
Previous upgrades of mysqld under Gutsy on this machine have been
problem free.
** Changed in: apparmor (Ubuntu)
Assignee: (unassigned) => Kees Cook (keescook)
Status: Incomplete => Invalid
--
mysqld fails to start on upgrade 7.10->8.04
https://bugs.launchpad.net/bugs/204042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs