Public bug reported:

Due to ubuntu putting /var/run on a tempory fs the /var/run/mysqld directory is 
removed upon a reboot. Mysql will fail to start via the crm after next boot as 
it cannot access or find the the needed /var/run/mysqld directory.
This directory is created in the OCF script in the mysql_start() function , but 
for some reason not until after the script checks for the directory and write 
permissions, logs an error, and exits. (Line 345)

I have fixed it by merely moving the if statement which test -w the
pid_dir to after the if statements which create the pid_dir (line 350)

** Affects: cluster-agents (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893352

Title:
  mysql ocf script broken in 1:1.0.3-2ubuntu1 (lucid)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cluster-agents/+bug/893352/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to