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
|
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | Scripts & Clients [ 11002 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Assignee | Sergei Golubchik [ serg ] |
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 |
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. {noformat} ... ++ 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 {noformat} |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 10.1.20 [ 22112 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 77825 ] | MariaDB v4 [ 151067 ] |