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

remote_command.sh could use the incorrect user

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • Icebox
    • installation
    • None
    • 2016-21

    Description

      remote_command.sh uses the $USER environment variable to find which user to SSH to. If 'sudo' is used or 'su' without '-l' in CentOS 7 (probably Ubuntu too) then $USER evaluates to the unprivileged user, not root. This can cause installations to fail.

      I would recommend using 'whoami' instead. Or postConfigure should ask what username to use.

      Attachments

        Issue Links

          Activity

            People

              hill David Hill (Inactive)
              LinuxJedi Andrew Hutchings (Inactive)
              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.