← Back to team overview

ius-coredev team mailing list archive

[Bug 1390900] Re: mysql56u init script status doesn't check PID

 

Hello Jakov,

Thanks for taking the time to submit this bug.  Looking over the history
of our init scripts, it appears the status portion hasn't been updated
since the el5 days.  I will work on getting some updated packages in our
testing repos soon.

Can I assume that you are you the initscript method to configure RHSC
instead of the mysql OCF resource agent?


-Ben

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1390900

Title:
  mysql56u init script status doesn't check PID

Status in IUS Community Project:
  New

Bug description:
  On CentOS/RedHat el6, standard MySQL init script has the following
  'status' code:

    status)
      status -p "$mypidfile" $prog
      ;;

  In mysql56u-server package, you removed '-p "$mypidfile"' code, and
  that makes script wrongly assume MySQL is running if any mysqld
  instance is found on the machine.

  This poses a problem if one runs MySQL through RedHat Cluster Suite,
  and not through classic init script.

  
  I'm attaching the patch that fixes the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1390900/+subscriptions


References