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

Debian post/pre install scripts are not all defaulted to Bash

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 11.0.0, 10.9(EOL), 10.10(EOL), 10.11, 11.1(EOL)
    • N/A
    • Platform Debian
    • None

    Description

      Currenlty Debian post/pre install scripts vary with interpreters used (MariaDB 10.9):

      mariadb-common.postinst:#!/bin/sh
      mariadb-common.postrm:#!/bin/sh
      mariadb-plugin-mroonga.postinst:#!/bin/sh
      mariadb-server.postinst:#!/bin/bash
      mariadb-server.postrm:#!/bin/bash
      mysql-common.postrm:#!/bin/bash
      mariadb-plugin-mroonga.prerm:#!/bin/sh
      mariadb-server.preinst:#!/bin/bash -e
      mariadb-server.prerm:#!/bin/sh
      

      Easier maintenance they should be defaulted to Bash.

      Attachments

        Activity

          People

            illuusio Tuukka Pasanen
            illuusio Tuukka Pasanen
            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.