[MCOL-459] remove use of sudo by non root install Created: 2016-12-09  Updated: 2020-03-11  Resolved: 2016-12-09

Status: Closed
Project: MariaDB ColumnStore
Component/s: installation
Affects Version/s: None
Fix Version/s: Icebox

Type: Epic Priority: Major
Reporter: David Thompson (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Relates
relates to MCOL-458 remove use of sudo by non root install Closed
Epic Name: no sudo

 Description   

Due to the history of infinidb starting out as an appliance, the system is fairly self healing. However to achieve this the code uses os system calls and sudo if not running as root to achieve this. It would be very beneficial to support a true non root install.

The code should be reviewed for each occurrence of sudo and we should remove these (and ideally os system calls):

  • Replace with something that does not require root and ideally not a system command call.
  • Remove entirely and replace with descriptive error logging.
  • Keep as a last resort and document that certain scenarios will not self heal if root access is not present.

From a priority point of view, the operational database should come first, then mcsadmin, then install as this is likely to be a multi release epic.


Generated at Thu Feb 08 02:21:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.