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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 2.0.0
    • Component/s: Packaging
    • Labels:
      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

            Assignee:
            markus makela markus makela
            Reporter:
            sjmudd Simon Mudd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration