Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11052

mariadb-service-convert does not work after upgrading to 10.1.18

Details

    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

          rvlane Richard Lane created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Component/s Scripts & Clients [ 11002 ]
          Fix Version/s 10.1 [ 16100 ]
          Assignee Sergei Golubchik [ serg ]
          serg Sergei Golubchik made changes -
          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}
          serg Sergei Golubchik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 10.1.20 [ 22112 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 77825 ] MariaDB v4 [ 151067 ]

          People

            serg Sergei Golubchik
            rvlane Richard Lane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.