[MXS-2728] maxscale .secret file permission Created: 2019-10-18 Updated: 2020-08-25 Resolved: 2019-10-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxkeys |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Muhammad Irfan | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
There is some additional documentation required when installing Maxscale 2.4.2 on CentOS 7
Output from maxpasswd is placed in the /etc/maxscale.cnf file The problem is that the /var/lib/maxscale/.secrets file is created as owned by the user who ran the commands rather than maxscale. This leads to the following error when starting MaxScale: Access for secrets file [/var/lib/maxscale/.secrets] failed. Error 13, Permission denied. It can be fixed with:
The yum install creates the maxscale user but does not advise that you change to that user to perform the other actions. |
| Comments |
| Comment by markus makela [ 2019-10-19 ] |
|
I think maxkeys can automatically change the ownership if it can do it and if it can't, it can log a message to let the user know. |