[MDEV-10399] custom tmpdir permission denied only in 10.1.16 Created: 2016-07-19 Updated: 2016-07-22 Resolved: 2016-07-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.1.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | George L | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 1 |
| Labels: | None | ||
| Environment: |
CentOS 7.2 64bit |
||
| Issue Links: |
|
||||||||
| Description |
|
I have custom tmpdir defined in /etc/my.cnf which has worked fine on MariaDB 5.2/5.5/10.0 and up to 10.1.14 and even on bugged 10.1.15. Downgrading back to 10.1.14 works and restarts mysql fine
But on upgrade from 10.1.14 to 10.1.16, mysql server doesn't start up at all and i get the complaint of
permissions
repo file
full error message
|
| Comments |
| Comment by Sergei Golubchik [ 2016-07-19 ] | ||||||
|
A possible suspect is I'm hesitant to call that a bug, the intention, precisely, was not to allow mysqld to write anywhere under /home. This is the secure default, that a user can override to match his specific use case. | ||||||
| Comment by George L [ 2016-07-19 ] | ||||||
|
ah thanks Sergei just what i needed ! my use case is auto installed setups of mariadb on low end vps so usually /tmp is very very small in size insufficient for mysql so moved it to the more likely larger disk free space available /home
this works for me as a workaround
thanks ! | ||||||
| Comment by George L [ 2016-07-19 ] | ||||||
|
was ProtectHome only added to MariaDB 10.1.16 and higher or was it back ported to MariaDB 10.0.x branch on CentOS 7/systemd systems too ? | ||||||
| Comment by Sergei Golubchik [ 2016-07-19 ] | ||||||
|
Only in 10.1 ( | ||||||
| Comment by George L [ 2016-07-19 ] | ||||||
|
thanks Sergei for clarification |