Skip to content

Add execute as root check to mysqlctl #5644

Merged
morgo merged 1 commit intovitessio:masterfrom
rickywraith:root-exec-protection
Jan 2, 2020
Merged

Add execute as root check to mysqlctl #5644
morgo merged 1 commit intovitessio:masterfrom
rickywraith:root-exec-protection

Conversation

@rickywraith
Copy link
Copy Markdown
Contributor

@rickywraith rickywraith commented Jan 2, 2020

Signed-off-by: RickyRajinder singh.sangh@gmail.com

mysqlctl will refuse to run as root - fixes #5528

Signed-off-by: RickyRajinder <singh.sangh@gmail.com>
@rickywraith rickywraith requested a review from sougou as a code owner January 2, 2020 07:54
@rickywraith
Copy link
Copy Markdown
Contributor Author

@morgo what other components should have root exec protection?

@morgo morgo self-requested a review January 2, 2020 15:33
Copy link
Copy Markdown
Contributor

@morgo morgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where else to check, it was an open question in case there are others. It looks good, so lets merge this :-)

@morgo
Copy link
Copy Markdown
Contributor

morgo commented Jan 2, 2020

The test failing is unrelated. It was just fixed this morning, but will not be in this branch.

@morgo morgo merged commit 6d5f332 into vitessio:master Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add execute as root protection directly into mysqlctl

2 participants