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

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

    XMLWordPrintable

    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

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration