Patched mysqld_safe has mysqladmin

Bug #1261138 reported by Raghavendra D Prabhu on 2013-12-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to
Status tracked in 5.6
Fix Released
Raghavendra D Prabhu
Fix Released

Bug Description

-trap '' 1 2 3 15 # we shouldn't let anyone kill us
-trap '' 13 # not even SIGPIPE
 # MySQL-specific environment variable. First off, it's not really a umask,
 # it's the desired mode. Second, it follows umask(2), not umask(3) in that
 # octal needs to be explicit. Our shell might be a proper sh without printf,
@@ -739,6 +736,12 @@

+# From now on, we catch signals to do a proper shutdown of mysqld
+# when signalled to do so.
+trap '/usr/sbin/service mysql reload' 1 # HUP
+trap '/usr/sbin/service mysql stop' 2 3 13 15 # INT QUIT PIPE and TERM
 # Uncomment the following lines if you want all tables to be automatically
 # checked and repaired during startup. You should add sensible key_buffer

part can make it incompatible.

Removing it from 00list for now.

Related branches

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers