Ensure MariaDB is started before StoRM Backend on boot

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 1.11.21
    • Affects Version/s: 1.11.20
    • Component/s: backend
    • Security Level: Public (Visbile by non-authn users.)
    • None

      StoRM Backend needs the database to be up before starting. It doesn't fail but the boot sequence could be better managed.
      We can solve this by adding After=mariadb.service into the Unit:

      [Unit]
      Description=StoRM Backend service
      After=mariadb.service
      

      This means that if mariadb service is installed and enabled then it is required to be started before StoRM Backend. In case mariadb is not enabled, then this line has no impact.

            Assignee:
            Enrico Vianello
            Reporter:
            Enrico Vianello
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: