Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-1986

LP #1695025: On RHEL `service mysql start` command defunct when run by SaltStack

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Jason Woods last update 15-06-2017 04:55:41

      On RHEL 6.5. Using latest SaltStack from EPEL repository.

      When starting the service, SaltStack hangs. This is due to a misbehaving init script in place for MySQL by Percona in the official packages retrieved from the Percona yum repository.

      It looks like the mysql daemon inherits the STD file descriptors of the service command, and thus they are never closed, and SaltStack is unable to read the full STDOUT/STDERR output of the service start command, hanging forever until either MySQL is stopped or the SaltStack process is killed.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                lalit.choudhary Lalit Choudhary
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: