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

start/stop scripts use which in a non-silent manner

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.4.3
    • 2.0.0
    • Packaging
    • None

    Description

      I notice on installing maxscale-1.4.3.1-1 (rpm) on CentOS 6:

      [user@host ~]$ sudo rpm -Uvh maxscale-1.4.3.1-1.centos.6.x86_64.rpm
      warning: maxscale-1.4.3.1-1.centos.6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 8167ee24: NOKEY
      Preparing... ########################################### [100%]
      1:maxscale ########################################### [100%]
      which: no systemctl in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin)
      [user@host ~]$

      You use "which" to find something, but I think you're missing a '2>/dev/null' somewhere.

      On CentOS 6 systemctl does not exist, as it uses the old (traditional init scripts).

      I'm not sure if this breaks anything but certainly the install should I think be silent.

      Attachments

        Activity

          People

            markus makela markus makela
            sjmudd Simon Mudd
            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.