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

Ubuntu (possible debian) /etc/init.d/mysql problem

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.29-galera
    • Fix Version/s: 5.5.32-galera
    • Component/s: None
    • Labels:
      None
    • Environment:
      ubuntu 12.04
      Linux server01 3.2.0-41-generic #66-Ubuntu SMP Thu Apr 25 03:27:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

      Description

      Hi,

      I cannot do:

      sudo service mysql start --wsrep_cluster_address=gcomm://

      Becauase the /etc/init.d/mysql script supplied in mariadb-galera-server-5.5 does not take any mysql options.

      The /etc/init.d/mysql script, in the start) function calls mysqld_safe like this , line 109:

      /usr/bin/mysqld_safe > /dev/null 2>&1 &

      However, it would be great if it could behave like this (From your yum repos) .. :
      $bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 &

      .. which i think is the proper way!

      Best regards
      Johan

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              johan Johan added a comment -

              I should also say, i have found this on ubuntu, but perhaps also debian is affected.

              BR
              johan

              Show
              johan Johan added a comment - I should also say, i have found this on ubuntu, but perhaps also debian is affected. BR johan
              Hide
              kolbe Kolbe Kegel added a comment -

              Oops, I just opened https://mariadb.atlassian.net/browse/MDEV-4509 which is definitely a duplicate of this. The appropriate fix is described in that other report, but I'll repeat it here:

              /usr/bin/mysqld_safe "${@:2}" > /dev/null 2>&1 &
              
              Show
              kolbe Kolbe Kegel added a comment - Oops, I just opened https://mariadb.atlassian.net/browse/MDEV-4509 which is definitely a duplicate of this. The appropriate fix is described in that other report, but I'll repeat it here: /usr/bin/mysqld_safe "${@:2}" > /dev/null 2>&1 &
              Hide
              elenst Elena Stepanova added a comment -

              See also MDEV-4253

              Show
              elenst Elena Stepanova added a comment - See also MDEV-4253
              Hide
              ratzpo Rasmus Johansson added a comment -

              Reopened to be able to move to correct fix version

              Show
              ratzpo Rasmus Johansson added a comment - Reopened to be able to move to correct fix version

                People

                • Assignee:
                  holyfoot Alexey Botchkov
                  Reporter:
                  johan Johan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: