test-run.pl needs work around the --secure-file-priv option

Bug #675799 reported by Patrick Crews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Low
Patrick Crews
7.0
Fix Released
Low
Patrick Crews

Bug Description

test-run.pl starts the test server with --secure-file-priv = $VARDIR. This is for security reasons.

However, there are cases where we either want to use a different directory (tools such as the randgen use LOADDATA operations for things like BLOB columns) or no directory at all.

test-run.pl needs to be altered to not try to specify $VARDIR as an argument to --secure-file-priv if the user supplies their own argument; the server will not start if two such arguments are passed to the server. Drizzle doesn't support multiple arguments (don't see the need to introduce such behavior) and having the last option supersede previous options is a bit sloppy.

Will also add a --no-secure-file-priv to override the default behavior to use no such argument.

Related branches

Changed in drizzle:
assignee: nobody → Patrick Crews (patrick-crews)
status: New → Confirmed
importance: Undecided → Low
Vijay Samuel (vjsamuel)
Changed in drizzle:
assignee: Patrick Crews (patrick-crews) → nobody
assignee: nobody → Vijay Samuel (vjsamuel)
Revision history for this message
Patrick Crews (patrick-crews) wrote :

new test-runner project has no-secure-file priv option that *won't* set --secure-file-priv = vardir for servers

Changed in drizzle:
assignee: Vijay Samuel (vjsamuel) → Patrick Crews (patrick-crews)
status: Confirmed → Fix Committed
milestone: none → future
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

Fixed in new python based test runner

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.