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

Installation requires user name and it group name to be the same

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.0.7
    • Icebox
    • installation
    • None

    Description

      Build tested: 1.0.7-1

      For Suse 12, when creating an user (i.e. guest), the user belongs to the users group by default. Files would have ownership as, in the case of my tests, guest:users. The following commands in the post-install script would fail due to group does not exist.

      guest@linux-p7qp:~/mariadb/columnstore/bin> cat post-install |grep chown
      chown -h $user.$user *.so >/dev/null 2>&1
      chown -h $user.$user libstdc++.so.6 >/dev/null 2>&1
      $SUDO chown $user:$user $installdir/etc/Columnstore.xml

      As a result, incorrectly ownership would be set for the files and ColumnStore would failed to startup.

      The fix would be modifying the above commands to change user name only, and leaving group name as it.

      I don't know where else in the source code also have this issue, if any and I don't know if there are other issues relating to this. When I created the user guest and assigned it to the guest group, the same installation was successful.

      We did hit this issue previously because for Centos and Debian, creating a user would default to a group with the same name. Also, the root user also beings to the root group.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dleeyh Daniel Lee (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.