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

Debian 50-mariadb_safe.cnf has syslog enabled - read by galera sst scripts

    XMLWordPrintable

Details

    Description

      50-mariadb_safe.cnf was only ever intended to be a reference file. With mariadbd-safe falling into disuse in Debian since systemd became a service it was assumed this files wasn't used.

      It is however read by galera-sst scripts. This forks off the logger process to write the output to /dev/log, which on a systemd service the journalctl is reading anyway.

      It would be much more direct just to go straight to stdout/error like what would happen without this configuration.

      In a1211a4eda9c7348295ce4a6fdfa8e94860e5e14 the debian 50-mariadb_safe.cnf changed its name so the sst script like mariabackup still reads only mysqld_safe.

      This is a problem however in container based Galera, which doesn't have a journald or syslog listening on /dev/log.

      Since MariaDB operator now has support for Galera, its important to disable this.

      Attachments

        Activity

          People

            danblack Daniel Black
            danblack Daniel Black
            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.