[Bug 1872195] Re: PIDFile specified in systemd unit file but pid-file not in my.cnf

2020-04-16 Thread Rowan Wookey
I'm fine with removing the PIDFile that'd save some confusion. If you slate it for fixing in 20.10 I'm happy to test before 20.10 reaches feature freeze. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1872195] Re: PIDFile specified in systemd unit file but pid-file not in my.cnf

2020-04-16 Thread Robie Basak
Thanks - I think I understand your situation now. Given that systemd doesn't need the PIDFile in this case, I think I favour removing it from the service file. Users who want to monitor for a pidfile rather than the systemd service could edit my.cnf as you have done. It is a one line change, but

[Bug 1872195] Re: PIDFile specified in systemd unit file but pid-file not in my.cnf

2020-04-16 Thread Rowan Wookey
In my case I was using monit to monitor the process via the pidfile but it wasn't created so I had to edit my.cnf Correct me if I'm wrong but focal is in beta and beta is for finding and fixing bugs, so shouldn't this be fixed? It's not a critical issue but it's one line in a conf file so it's

[Bug 1872195] Re: PIDFile specified in systemd unit file but pid-file not in my.cnf

2020-04-16 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make Ubuntu better. I've confirmed that installing mysql-server on Focal, the PIDFile as specified in /lib/systemd/system/mysql.service is not created, although the containing directory /run/mysqld is created. So this should be