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

Missing systemd service unit file on aarch64

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.4.24
    • N/A
    • Repositories
    • Ubuntu 20.04 aarch64

    Description

      On a clean install of an AWS m6gd instance, the systemd unit file appears to be missing.

      I installed MariaDB 10.4.24 from an apt mirror as below:

      deb [arch=ppc64el,amd64,s390x,arm64] https://mirrors.xtom.nl/mariadb/repo/10.4/ubuntu focal main
      # deb-src [arch=ppc64el,amd64,s390x,arm64] https://mirrors.xtom.nl/mariadb/repo/10.4/ubuntu focal main
      

      Then installed with:

      apt install mariadb-server-10.4
      

      After install, unable to start the service:

      root@es6:~# systemctl start mariadb
      Failed to start mariadb.service: Unit mariadb.service not found.
      

      Inspecting, it seems like the service file is missing from /lib/systemd:

      root@es6:~# ls -al /lib/systemd/system/mariadb.service
      ls: cannot access '/lib/systemd/system/mariadb.service': No such file or directory
      

      After copying the Unit file from another x86 server, it works as expected. Maybe something went wrong with the packaging and this file wasn't packaged for some reason?

      Attachments

        Issue Links

          Activity

            People

              cvicentiu Vicențiu Ciorbaru
              mattjones Matt Jones
              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.