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

socket path on tmpfs while package does care about creating the path

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.1.16
    • N/A
    • Packaging, Platform SUSE
    • None
    • openSUSE Leap 42.1 / almost identical to SLES12

    Description

      The mariadb server does not start with default settings because of:

      Jul 19 09:20:14 db2 sh[5819]: 2016-07-19  9:20:12 140074415835008 [ERROR] Can't start server : Bind on unix socket: No such file or directory
      

      The default path to the socket is:
      /var/run/mysql/mysql.sock
      but that location is a tmpfs and therefore after a reboot the path /var/run/mysql/ does not exist at all and mariadb refused to start.

      At least on openSUSE/SUSE it's required to put a definition into the system as described here:
      https://en.opensuse.org/openSUSE:Systemd_packaging_guidelines#Creating_files_.2F_subdirectories_in_.2Fvar.2Frun_and_.2Frun

      Attachments

        Activity

          People

            serg Sergei Golubchik
            wrosenauer Wolfgang Rosenauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.