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

MariaDB-Galera-server uses 'socat', but 'socat' is not in the dependency list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.37-galera
    • Fix Version/s: 5.5.38-galera, 10.0.11-galera
    • Component/s: None
    • Labels:

      Description

      Scripts '/usr/bin/wsrep_sst_xtrabackup' and '/usr/bin/wsrep_sst_xtrabackup-v2' are part of 'mariadb-galera-server' and they use 'socat' command. If 'mariadb-galera-server' is installed on the fresh system wich does noit have 'socat' package installed node joining operation failed.

      Steps to reproduce:
      1. use two fresh CentOS6 or Debian7 machies to create a cluster
      2. install 'mariadb-galera-server' package on both
      3. start node1
      4. try to join node2 to the cluster

      Expected result: two-nodes cluster is running

      Actual result:
      node2 start operation failed
      log contains:
      WSREP_SST: [INFO] Using socat as streamer (20140505 14:32:41.368)
      *which: no socat in
      (/usr/sbin:/sbin:/usr//bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin)**
      **WSREP_SST: [ERROR] socat not found in path:

      Note: CentOS6 default repositories does not contain 'socat' package. It is available from EPEL repo. Should it be mentioned somewhere in README?

      It would be good to check if scripts are using other commands that are not mentioned in the dependecy list (even 'sudo' is not installed by default in some distributions)
      nc, grep, rsync, tar, gawk, findutils, sed? coreutils util-linux curl net-tools?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            tturenko Timofey Turenko added a comment -

            one note regarding dependecy on 'nc package: in Debian7 default nc is netcat-traditional which gives an error "nc: invalid option – ‘d’” in the sst.err log file. Fixed by installing netcat-openbsd package. Should it be also reflected in the mariadb-galera-server package dependecy list?

            Show
            tturenko Timofey Turenko added a comment - one note regarding dependecy on 'nc package: in Debian7 default nc is netcat-traditional which gives an error "nc: invalid option – ‘d’” in the sst.err log file. Fixed by installing netcat-openbsd package. Should it be also reflected in the mariadb-galera-server package dependecy list?
            Hide
            nirbhay_c Nirbhay Choubey added a comment -

            Fix pushed in maria-5.5-galera and maria-10.0-galera.
            http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3494

            Show
            nirbhay_c Nirbhay Choubey added a comment - Fix pushed in maria-5.5-galera and maria-10.0-galera. http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3494

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey
                Reporter:
                tturenko Timofey Turenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: