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

pre-uninstall script is calling sudo when run by root user

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.0.11
    • ?
    • None

    Description

      pre-uninstall script is calling sudo when run by root user. That should happen. Need to check this script and all other places in the code to make sure that does happen.

      Working on a customer site where ColumnStore wasn't starting up, it started ProcMon, but nothing else, I ran into a problem when running the pre-uninstall script. It would just hang when it got to the 'sudo rm -f /etc/exports'.

      So that might be the reason why the columnstore platform as a whole wouldn't start up. I asked the customer to look into why the sudo command is hanging, it shouldn't.

      But we still need to check our code and not call sudo on root user.

      Also double check the pre-uninstall script to make sure it removing the files it really should be. /etc/export didn't exist, so we would have made any changes, thus we have no reason to remove it.

      Attachments

        Issue Links

          Activity

            People

              hill David Hill (Inactive)
              hill David Hill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.