Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4059

Commands have suffixes in vain

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • 23.10
    • None
    • None

    Description

      There are a lot of shell scripts that are installed as system wide programs in /usr/bin or /usr/sbin, but still using their .sh suffix. This is against general practice. Users don't need to know or care if a command is implemented in C, Perl, Shell or whatever.

      These should be changed to not have the .sh when installed:

      usr/bin/MCSInstanceCmds.sh
      usr/bin/MCSVolumeCmds.sh
      usr/bin/MCSgetCredentials.sh
      usr/bin/alarmReport.sh
      usr/bin/bulklogReport.sh
      usr/bin/columnstoreClusterTester.sh
      usr/bin/columnstoreSyslogSetup.sh
      usr/bin/columnstore_module_installer.sh
      usr/bin/columnstore_os_check.sh
      usr/bin/columnstore_run.sh
      usr/bin/configReport.sh
      usr/bin/configxml.sh
      usr/bin/disable-rep-columnstore.sh
      usr/bin/hardwareReport.sh
      usr/bin/logReport.sh
      usr/bin/mariadb-columnstore-start.sh
      usr/bin/mariadb-columnstore-stop.sh
      usr/bin/mariadb-command-line.sh
      usr/bin/master-rep-columnstore.sh
      usr/bin/mcs-loadbrm.py
      usr/bin/mcs-start-storagemanager.py
      usr/bin/mcs-stop-controllernode.sh
      usr/bin/mcs_module_installer.sh
      usr/bin/os_detect.sh
      usr/bin/quick_installer_multi_server.sh
      usr/bin/quick_installer_single_server.sh
      usr/bin/remote_command.sh
      usr/bin/remote_command_verify.sh
      usr/bin/remote_scp_get.sh
      usr/bin/remote_scp_put.sh
      usr/bin/resourceReport.sh
      usr/bin/rsync.sh
      usr/bin/slave-rep-columnstore.sh
      usr/bin/softwareReport.sh
      usr/bin/startupTests.sh
      usr/sbin/install_mcs_mysql.sh
      

      Also the issue MCOL-4058 applies here as well. You can't have generic commands like /usr/bin/rsync.sh installed system wide, and you should not be using capitals in commands.

      Attachments

        Activity

          People

            Unassigned Unassigned
            otto Otto Kekäläinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.