[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
I just tried to install mysql-server in a minimal vivid environment without policykit-1, and mysql.service starts fine right after installation. I tried systemctl stop mysql, systemctl disable mysql, systemctl enable mysql without a problem. So I'm afraid I can't reproduce this yet. Bug 1447807 was about a package which only had an init.d script without a systemd unit, but that's not the case here. As a first step, can you please give me the output of systemctl status mysql.service sudo SYSTEMD_LOG_LEVEL=debug systemctl enable mysql Thanks! ** Changed in: mysql-5.6 (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Here is the output of the systemctl enable. I am not sure I still have the strace output from when it was failing. Are you saying you want the strace output now that I've got it to work? Or to remove policykit-1 and try to reproduce in the original state? ** Attachment added: systemctl_enable.txt https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+attachment/4401049/+files/systemctl_enable.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Also, can you please attach the full strace? I have the feeling that policykit is a red herring here. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Also, can you please attach the full strace? I have the feeling that policykit is a red herring here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
I just tried to install mysql-server in a minimal vivid environment without policykit-1, and mysql.service starts fine right after installation. I tried systemctl stop mysql, systemctl disable mysql, systemctl enable mysql without a problem. So I'm afraid I can't reproduce this yet. Bug 1447807 was about a package which only had an init.d script without a systemd unit, but that's not the case here. As a first step, can you please give me the output of systemctl status mysql.service sudo SYSTEMD_LOG_LEVEL=debug systemctl enable mysql Thanks! ** Changed in: mysql-5.6 (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Here is the output of the systemctl enable. I am not sure I still have the strace output from when it was failing. Are you saying you want the strace output now that I've got it to work? Or to remove policykit-1 and try to reproduce in the original state? ** Attachment added: systemctl_enable.txt https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+attachment/4401049/+files/systemctl_enable.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Output of the systemctl status ** Attachment added: systemctl_status.txt https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+attachment/4401050/+files/systemctl_status.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Output of the systemctl status ** Attachment added: systemctl_status.txt https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+attachment/4401050/+files/systemctl_status.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
I install updates every day, the system is currently fully updated. FWIW I just remembered I am actually using MariaDB not mysql (this is an openstack controller node and that's their recommendation). Here are the packages installed: openstack@controller-1:~$ dpkg -l | egrep -i mariadb\|mysql ii libaprutil1-dbd-mysql:amd64 1.5.4-1 amd64Apache Portable Runtime Utility Library - MySQL Driver ii libdbd-mysql-perl4.028-2 amd64Perl5 database interface to the MySQL database ii libmysqlclient18:amd64 5.6.24-0ubuntu2 amd64MySQL database client library ii mariadb-client-10.0 10.0.17-0ubuntu1 amd64MariaDB database client binaries ii mariadb-client-core-10.0 10.0.17-0ubuntu1 amd64MariaDB database core client binaries ii mariadb-common 10.0.17-0ubuntu1 all MariaDB common metapackage ii mariadb-server 10.0.17-0ubuntu1 all MariaDB database server (metapackage depending on the latest version) ii mariadb-server-10.0 10.0.17-0ubuntu1 amd64MariaDB database server binaries ii mariadb-server-core-10.0 10.0.17-0ubuntu1 amd64MariaDB database core server files ii mysql-common 5.6.24-0ubuntu2 all MySQL database common files, e.g. /etc/mysql/my.cnf ii python-mysqldb 1.2.3-2ubuntu1 amd64Python interface to MySQL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
I install updates every day, the system is currently fully updated. FWIW I just remembered I am actually using MariaDB not mysql (this is an openstack controller node and that's their recommendation). Here are the packages installed: openstack@controller-1:~$ dpkg -l | egrep -i mariadb\|mysql ii libaprutil1-dbd-mysql:amd64 1.5.4-1 amd64Apache Portable Runtime Utility Library - MySQL Driver ii libdbd-mysql-perl4.028-2 amd64Perl5 database interface to the MySQL database ii libmysqlclient18:amd64 5.6.24-0ubuntu2 amd64MySQL database client library ii mariadb-client-10.0 10.0.17-0ubuntu1 amd64MariaDB database client binaries ii mariadb-client-core-10.0 10.0.17-0ubuntu1 amd64MariaDB database core client binaries ii mariadb-common 10.0.17-0ubuntu1 all MariaDB common metapackage ii mariadb-server 10.0.17-0ubuntu1 all MariaDB database server (metapackage depending on the latest version) ii mariadb-server-10.0 10.0.17-0ubuntu1 amd64MariaDB database server binaries ii mariadb-server-core-10.0 10.0.17-0ubuntu1 amd64MariaDB database core server files ii mysql-common 5.6.24-0ubuntu2 all MySQL database common files, e.g. /etc/mysql/my.cnf ii python-mysqldb 1.2.3-2ubuntu1 amd64Python interface to MySQL -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
*** This bug is a duplicate of bug 1447807 *** https://bugs.launchpad.net/bugs/1447807 Ah :) That explains it. I mark this as a duplicate then, please yell if it still happens with systemd 219-7ubuntu5. ** This bug has been marked a duplicate of bug 1447807 systemctl enable shows error on enabling a SysV service -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
*** This bug is a duplicate of bug 1447807 *** https://bugs.launchpad.net/bugs/1447807 Ah :) That explains it. I mark this as a duplicate then, please yell if it still happens with systemd 219-7ubuntu5. ** This bug has been marked a duplicate of bug 1447807 systemctl enable shows error on enabling a SysV service -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Are you saying you want the strace output now that I've got it to work? Or to remove policykit-1 and try to reproduce in the original state? In the original broken state, please. If everything works, there's nothing to debug :-) However.. Loaded: loaded (/etc/init.d/mysql) This *is* unexpected. mysql-5.6 does have a native service file /lib/systemd/system/mysql.service. So it seems you are not actually running -5.6 here, but an older version, perhaps -5.5? So in that case this actually is a duplicate of bug 1447807. Can you please install updates and verify? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Are you saying you want the strace output now that I've got it to work? Or to remove policykit-1 and try to reproduce in the original state? In the original broken state, please. If everything works, there's nothing to debug :-) However.. Loaded: loaded (/etc/init.d/mysql) This *is* unexpected. mysql-5.6 does have a native service file /lib/systemd/system/mysql.service. So it seems you are not actually running -5.6 here, but an older version, perhaps -5.5? So in that case this actually is a duplicate of bug 1447807. Can you please install updates and verify? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Thank you for taking the time to report this bug and helping to make Ubuntu better. I'm not sure what is causing this. Your findings are helpful - I'll leave this bug open to look at it later. I wonder if recent systemd updates have fixed it though? Notes for some other commenters: Have the same problem but policykit-1 is installed and it doesn't fix the problem. Then you have a different problem. Please check it isn't bug 1447807 (which is fixed now) and file a separate bug as necessary. The mysql.service are working but systemctl enable mysql.service returned an error. This sounds like bug 1447807 which has been fixed in systemd 219-7ubuntu5 now. Please update and try again. ** Changed in: mysql-5.6 (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Thank you for taking the time to report this bug and helping to make Ubuntu better. I'm not sure what is causing this. Your findings are helpful - I'll leave this bug open to look at it later. I wonder if recent systemd updates have fixed it though? Notes for some other commenters: Have the same problem but policykit-1 is installed and it doesn't fix the problem. Then you have a different problem. Please check it isn't bug 1447807 (which is fixed now) and file a separate bug as necessary. The mysql.service are working but systemctl enable mysql.service returned an error. This sounds like bug 1447807 which has been fixed in systemd 219-7ubuntu5 now. Please update and try again. ** Changed in: mysql-5.6 (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/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
I have this problem too. The mysql.service are working but systemctl enable mysql.service returned an error. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
I have this problem too. The mysql.service are working but systemctl enable mysql.service returned an error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Have the same problem but policykit-1 is installed and it doesn't fix the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
Have the same problem but policykit-1 is installed and it doesn't fix the problem. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
** Package changed: ubuntu-release-upgrader (Ubuntu) = mysql-5.6 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1450053] Re: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1
** Package changed: ubuntu-release-upgrader (Ubuntu) = mysql-5.6 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450053 Title: upgrade 14.04 to 15.04, mysql no longer starts on boot due to missing policykit-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1450053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs