[Bug 1752705] Re: installation of mysql-server fails because postinst fails to shut down server

2018-03-02 Thread Robie Basak
We did change how mysql-server-5.7.postinst handles internal server start and stop in Bionic in order to fix bug 1592669. ** Summary changed: - installation of mysql-server fails because postinst fails to shut down server + When run from systemd-nspawn, installation of mysql-server fails because

[Bug 1752705] Re: installation of mysql-server fails because postinst fails to shut down server

2018-03-02 Thread ChristianEhrhardt
ubuntu@b-test:~$ sudo systemd-nspawn -D testmysql --bind /etc/resolv.conf /bin/bash Spawning container testmysql on /home/ubuntu/testmysql. Press ^] three times within 1s to kill container. Host and machine ids are equal (92544cb0ba5946158c7c4f9b57691fe3): refusing to link journals bash: cannot

[Bug 1752705] Re: installation of mysql-server fails because postinst fails to shut down server

2018-03-02 Thread ChristianEhrhardt
my nspawn failed to reproduce this (probably too old on xenial), but doing the same in a chroot instead of systemd-nspawn works fine. Setting up mysql-server-5.7 (5.7.21-1ubuntu1) ... invoke-rc.d: could not determine current runlevel * Stopping MySQL database server mysqld