<div dir="ltr">Hi folks,<div><br></div><div>I think we both have the same understanding of the manual :-)</div><div>My point about secure_file_priv is that users comming from mysql-5.6 or smaller which already are using operations like 'LOAD DATA INFILE..' now will be confused, as they might not know this new security feature.</div><div>But this could/should be handled via NEWS.Debian</div><div><br></div><div>Anyhow i've pushed my latest work into git with the following problem:</div><div><br></div><div>mysql-5.7 clean install works.</div><div><br></div><div>mysql-5.5 -> mysql-5.7</div><div>mysql-5.6 -> mysql-5.7</div><div> still some failures due to changed upgradepath<br></div><div> I still have not figured out how to implement a rubust mysql_upgrade during upgrade.</div><div><br></div><div>@ora: I know that your documentation states that "Direct upgrades that skip a release level (for example, upgrading directly from MySQL 5.5 to 5.7) are not recommended or supported"</div><div>Anyhow - we still got several month before stretch will be freezed and I'd really would like to ship mysql-5.7 already?</div><div>What do you folks think about?</div><div><br></div><div><br></div><div>Cheers</div><div>B</div><div><br></div><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-04 12:26 GMT+01:00 Norvald H. Ryeng <span dir="ltr"><<a href="mailto:norvald.ryeng@oracle.com" target="_blank">norvald.ryeng@oracle.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Björn,<br>
<br>
On Tue, 29 Dec 2015 12:22:08 +0100, Bjoern Boschman <<a href="mailto:bjoern@boschman.de" target="_blank">bjoern@boschman.de</a>><br>
wrote:<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi folks,<br>
<br>
I've started working on a mysql-5.7 branch [0].<br>
<br>
While doing so I had to phase the following difference between 5.6<->5.7<br>
<br>
secure_file_priv [1]<br>
<br>
mysql-5.6 default for this setting was 'empty' which simply disables this<br>
feature.<br>
mysql-5.7 builds with (what we currently do) '/var/lib/mysql-files' which<br>
is based on the used INSTALL_LAYOUT=RPM [2]<br>
my question is now: how shall I handle this?<br>
I would not like to add secure_file_priv= within mysqld.cnf as this would<br>
deactivate this feature for customers who want to use this on purpose.<br>
</blockquote>
<br></span>
I think you may have misunderstood the manual. If set to empty, the server<br>
can read from/write to any directory. If set to NULL, import and export is<br>
disabled. Anything else restricts it to that directory.<br>
<br>
It's a good idea to restrict reading and writing, so I think it should be<br>
on by default.<br>
<br>
The default location is a result of discussions with maintainers in<br>
Debian, Ubuntu, Fedora/Red Hat and openSUSE/SUSE over a year ago, so I<br>
suggest we keep it as is and create the directory.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I'm thinking of switching INSTALL_LAYOUT=STANDALONE as this seems to be the<br>
only usage of this cmake flag.<br>
<br>
@Oracle employees: can you confirm that this has no other impact?<br>
</blockquote>
<br></span>
I suggest you don't change INSTALL_LAYOUT, but instead use the<br>
-DINSTALL_SECURE_FILE_PRIVDIR=dirname CMake option [1] if you want to<br>
change this value. That will leave all the other options alone.<br>
<br>
But as I said, I'd prefer to keep the default value.<br>
<br>
Regards,<br>
<br>
Norvald H. Ryeng<br>
<br>
[1] <a href="https://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html#option_cmake_install_secure_file_privdir" rel="noreferrer" target="_blank">https://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html#option_cmake_install_secure_file_privdir</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Mit freundlich Grüßen / Kind regards<br><br>Björn Boschman</div>
</div></div></div>