[MDEV-20245] Unreadable includedir stops startup, but unreadable include file is ingored Created: 2019-08-02 Updated: 2019-08-05 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Configuration |
| Affects Version/s: | 10.4.7 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu |
||
| Description |
|
Standard my.cnf in our Ubuntu packages has:
When removing read permissions from the mariadb.cnf file it is just silently ignored, there's not even a warning in the mysqld error output. When making the conf.d directory unreadable though, by removing the r and x permissions, the server jut outright refuses to start:
IMHO an unreadable file should at least raise a warning, and the error handling should be consistent for both "include" and "includedir", failing in the same way if not being able to read the requested file or directory
|
| Comments |
| Comment by Sergei Golubchik [ 2019-08-05 ] |
|
it's likely not 10.4-only issue |