oracle-mysql bugfix, security fix, and enhancement
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | oracle-mysql: fix hostname pathpackage/ | +1 | 1 reply | |
| 2/3 | oracle-mysql: use group mysql, not nogrouppackage/ | +1 | 1 reply | |
| 3/3 | oracle-mysql: check for my.cnf before startingpackage/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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