Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.18
-
None
Description
Have the following in my /etc/my.cnf.d/server.cnf file:
[mysqld_safe]
syslog
After installing 10.1.18, mariadb-service-convert does not produce any output.
Found that ". /usr/bin/mysqld_safe --dry-run" was hanging.
Added set -x at front of mysqld_safe and it hands on exec's closing stderr and stdout.
I don't think stdout should be closed when it is called with --dry-run from mariadb-service-convert.
...
|
++ dry_run=1
|
++ '[' -n '' ']'
|
++ for dir in lib64/mysql/plugin lib64/plugin lib/mysql/plugin lib/plugin
|
++ '[' -d /usr/lib64/mysql/plugin ']'
|
++ plugin_dir=/usr/lib64/mysql/plugin
|
++ break
|
++ '[' -z /usr/lib64/mysql/plugin ']'
|
++ plugin_dir=/usr/lib64/mysql/plugin
|
++ '[' 1 -eq 1 ']'
|
++ my_which logger
|
++ '[' 0 -ne 0 ']'
|
++ '[' 0 -eq 1 ']'
|
++ '[' -n '' -o 1 -eq 0 ']'
|
++ '[' -n '' ']'
|
++ log_notice 'Logging to syslog.'
|
++ log_generic daemon.notice 'Logging to syslog.'
|
++ '[' 1 -eq 1 ']'
|
++ return
|
++ logging=syslog
|
++ exec
|
++ exec
|