CharlesMAtkinson / bung

GNU General Public License v2.0
4 stars 0 forks source link

mysql_bu and sysinfo_bu: update for Bullseye #10

Closed CharlesMAtkinson closed 2 years ago

CharlesMAtkinson commented 2 years ago

Bullseye's MariaDB executable is /usr/sbin/mariadbd which makes mysql_bu's and sysinfo_bu's test for the database status fail

Tested fix

diff /usr/bin/mysql_bu{.org,}
429c429
<     buf=$(ps -ef | grep -E '/usr/sbin/mysql[d]( |$)' 2>&1)
---
>     buf=$(ps -ef | grep -E '/usr/sbin/(mariadbd|mysql[d]( |$))' 2>&1)
431c431
<         msg E 'mysqld is not running'
---
>         msg E 'MySQL database is not running'
CharlesMAtkinson commented 2 years ago

Closed in version 3.2.5