[Bug 224294] databases/mariadb102-server
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 12 20:31:14 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224294
Bug ID: 224294
Summary: databases/mariadb102-server
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: brnrd at freebsd.org
Reporter: swa at section66.com
Assignee: brnrd at freebsd.org
Flags: maintainer-feedback?(brnrd at freebsd.org)
The package as distributed
mariadb102-server: 10.2.10
says upon installation via
# pkg install mariadb10.2-server
"
MariaDB respects hier(7) and doesn't check /etc and /etc/mysql for
my.cnf. Please move existing my.cnf files from those paths to
/usr/local/etc and /usr/local/etc/mysql.
"
YET ...
the installed /usr/local/etc/rc.d/mysql-server
contains
# mysql_(instance_)?optfile (str): Server-specific option file.
# Default to "${mysql_dbdir}/my.cnf".
which defaults to /var/db/mysql/my.cnf and not /usr/local/etc/my.cnf nor
/usr/local/etc/mysql/my.cnf
And which also adds --defaults-extra-file=/var/db/mysql/my.cnf to it's call to
mysqld_safe when starting it all.
suggested solution:
Easiest solution is to adapt the messages when installing the package as
that'll cause the least trouble for those using it already.
The messages in mysql_prestart() in should also be adapted as it too encourages
/usr/local/etc and /usr/local/etc/mysql to be used instead of /etc/ and
/etc/mysql (suggest it to show the location it will actually use as it has that
info.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list