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

multi node package install with non login su won't start

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.8
    • 1.1.0
    • installation
    • None
    • redhat 6 rpm
    • 2017-12, 2017-13

    Description

      If you perform a multi node install using packages / rpms and on pm1 you use 'su' from a non root account to become root, then the installs will go ahead but the system won't start. pm1 is missing the init.d entry.

      There are no invalid log entries in /tmp or /var/log/mariadb/columnstore to help troubleshoot.

      Identified the root cause of this after running rpm -e and seeing an invalid expression in the uninstall logic. Re-running postconfigure after using 'su -' worked correctly.

      There are many places in the install logic where the code checks $USER = root to detect root vs non root install. This is also an issue for containers where USER is not set by default.

      We should consider revising the logic here to be more robust. If this is not possible at least have a solution that implies root user if a package / rpm install.

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              dthompson David Thompson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.