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

portability: use `uname -n` instead of `hostname`

    XMLWordPrintable

Details

    Description

      Scripts included with mariadb use `hostname` to query the hostname, used to create logfiles, pidfiles, etc. However this command is not defined by POSIX and thus not guaranteed to work.

      Better use portable `uname -n` instead.

      See attached patch.

      Attachments

        Issue Links

          Activity

            People

              anel Anel Husakovic
              ghen Geert Hendrickx
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.