Skip to content

oracle-mysql bugfix, security fix, and enhancement

Christopher McCrory buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3oracle-mysql: fix hostname pathpackage/oracle-mysql/oracle-mysql.mk+1 -01 reply
2/3oracle-mysql: use group mysql, not nogrouppackage/oracle-mysql/oracle-mysql.mk+1 -11 reply
3/3oracle-mysql: check for my.cnf before startingpackage/oracle-mysql/S97mysqld+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.14.4