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

Missing RPM dependency on package "hostname" for Galera

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL)
    • 10.5, 10.6
    • None
    • RHEL and derivatives (YUM based).

    Description

      To conduct SST, Galera calls a shell script /usr/bin/wsrep_sst_common, which in turn invokes the hostname binary. However, the RPM package for Galera does not have a dependency on the "hostname" RPM package. As a result, Galera refuses to start on a system that lacks this package.

      While "hostname" is a basic RPM package that is usually installed by default, minimalistic environments (like containers) often lack it. A good practice for an RPM package is to require all the packages or binaries it will need and let YUM resolve the dependencies. Therefore, either "hostname" (which will be resolved to a package name) or "/bin/hostname" (which will be resolved as a binary) should be listed as dependency ("Require:" line) in the Galera RPM spec file.

      It is quite likely that the DEB packages we provide suffer from the same deficiency.

      These changes should also be propagated to the ES.

      Attachments

        Activity

          People

            sysprg Julius Goryavsky
            assen.totin Assen Totin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.