[Buildroot] [PATCH 0/3] oracle-mysql bugfix, security fix, and enhancement

Christopher McCrory chrismcc at gmail.com
Mon Aug 20 11:13:01 UTC 2018


0001-oracle-mysql-fix-hostname-path.patch
configure script picks up the hosts /usr/bin/hostname,  but buildroot
uses /bin/hostname. This breaks several helper scripts. For example the
startup wrapper ends up using a logfile of /var/mysql/.err instead of
/var/mysql/buildroot.err

0002-oracle-mysql-use-group-mysql-not-nogroup.patch
The makefile specifies a user mysql using group nogroup.  The /var/mysql
directory is world readable.  mysqld creates files with permisions 660.
If another process or user also has access to nogroup, then they have
access to all of the database data.  IMHO, this is bad.

0003-oracle-mysql-check-for-my.cnf-before-starting.patch
enhancement, don't start the daemon unless there is a configuration file

Christopher McCrory (3):
  oracle-mysql: fix hostname path
  oracle-mysql: use group mysql, not nogroup
  oracle-mysql: check for my.cnf before starting

 package/oracle-mysql/S97mysqld       | 1 +
 package/oracle-mysql/oracle-mysql.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.14.4



More information about the buildroot mailing list