[MDEV-10405] mysql.sock gets created with different SELinux context Created: 2016-07-20 Updated: 2023-10-13 Resolved: 2016-08-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform RedHat |
| Affects Version/s: | 10.1.16 |
| Fix Version/s: | 10.1.17 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Florian Bezdeka | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
CentOS 7 updating from 10.1.14 to 10.1.16 |
||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Hi there, I tried updating some mariadb installations from version 10.1.14 to version 10.1.16. Due to this problem I am not able to update to the latest version. The working permissions/contexts (as of 10.1.14)
The new but not working permissions/contexts (as of 10.1.16)
The error inside /var/log/audit/audit.log
|
| Comments |
| Comment by Sergei Golubchik [ 2016-07-20 ] | ||||||||||
|
Is it the same as | ||||||||||
| Comment by Florian Bezdeka [ 2016-07-21 ] | ||||||||||
|
Yes. Thanks for the hint. What I did to test this:
Result: The socket is now created with "correct" permissions as mentioned in the description above. This issue (together with | ||||||||||
| Comment by Sergey Vojtovich [ 2016-08-17 ] | ||||||||||
|
I disabled NoNewPrivileges. Better fix to be developed within the scope of | ||||||||||
| Comment by Simon Hanmer [ 2016-11-08 ] | ||||||||||
|
Not sure if I can make a suggestion - I'm using this simple selinux policy:
the module name might need changing. |