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

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

          danblack Daniel Black created issue -
          danblack Daniel Black made changes -
          Field Original Value New Value
          Fix Version/s 11.2 [ 28603 ]
          danblack Daniel Black made changes -
          Component/s Packaging [ 10700 ]
          Component/s Platform Debian [ 10136 ]
          faust Faustin Lammler added a comment - PR: https://github.com/MariaDB/server/pull/2698
          danblack Daniel Black added a comment -

          Thanks to otto for review.

          danblack Daniel Black added a comment - Thanks to otto for review.
          danblack Daniel Black made changes -
          Fix Version/s 11.2.1 [ 29034 ]
          Fix Version/s 11.2 [ 28603 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

          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.