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

Upgrade from 10.3 to 10.4 did not install sysv init script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 10.4
    • Fix Version/s: N/A
    • Component/s: Packaging, Platform Debian
    • Labels:
      None
    • Environment:
      Debian Buster

      Description

      This happened to be when upgrading from 10.3 to 10.4, but I suspect other versions are affected. I use sysv-rc to launch daemons/servers . I was forced to install systemd for the sake of php which makes use of systemd-tmpfiles command. But I otherwise do not use systemd at all. I think since this got installed, mariadb's installer assumed I use systemd for init. Therefore it failed to add the mysql.init script to /etc/init.d/ . This means mysql won't start now. I was able to manually yank mysql.init from the source and that works fine, but I hate to have to manually do this everytime I update (what if you guys make changes to the init script for example).

      I think your installer script needs to be a little more thorough about checking that systemd is being used for init.

      For example:

      $ systemctl
      System has not been booted with systemd as init system (PID 1). Can't operate.
      Failed to connect to bus: Host is down
      $ echo $?
      1
      

        Attachments

          Activity

            People

            Assignee:
            otto Otto Kekäläinen
            Reporter:
            leon Leon T
            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.