Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1044

Init-Script for SLES 11 displays error messages when called

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3
    • init script
    • None
    • SLES 11 SP4

    Description

      The Init-Script included in the rpm-File for SLES 11 (maxscale-2.0.2-1.sles.11.x86_64.rpm) does work but outputs errormessages due to functions which are not available in SLES's LSB init-functions:
      $> /etc/init.d/maxscale status
      ./maxscale: line 152: log_daemon_msg: command not found
      ./maxscale: line 153: status_of_proc: command not found
      ./maxscale: line 164: log_end_msg: command not found

      This also happens on start, stop etc.
      As this affects only the console output of the script but not the basic functionality (except displaying the status) I classified this as a minor problem.

      I rewrote the init-Script so that it doesn't rely on those functions any more and uses SLES-functions (rc_status to display the result of the previous action) and attached it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Wolber Bernd Wolber
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.