[MCOL-5024] Log files must be own by mysql:mysql user rather than partially own by root:root OS user. Created: 2022-03-23 Updated: 2023-10-27 Resolved: 2023-10-27 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | installation |
| Affects Version/s: | 5.6.3, 5.6.4, 5.6.5, 6.1.1, 6.2.1, 6.2.2, 6.2.3 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Minor |
| Reporter: | Pramod Mahto | Assignee: | Leonid Fedorov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
As root owned files involve sysadmin to do fewer task but generally these file should be managed by DBA or CS team. Also If we change the ownership to mysql:mysql , as soon as the file is archived and cycled, it is again owned by root.
|
| Comments |
| Comment by alexey vorovich (Inactive) [ 2022-03-23 ] |
|
??{{rw-rw-rw- 1 root mysql 10765 Mar 23 14:01 writeengineserver.log toddstoffel petko.vasilev I presume that owner(=root) and group owner(=mysql) are derived from account that starts the top process in the process tree. Is that determined at docker build time ? via Is that affected somehow by k8s ? Priority of this is already minor , but I am going to ask pramod.mahto@mariadb.com what practical problems does this present |
| Comment by Pramod Mahto [ 2022-03-23 ] |
|
alexey.vorovich In general DBA want to cycled and archive these log files on regular interval of time, doing that using non-root user not possible. They need to involve sysadmin team , generally they don't want to do that. |
| Comment by alexey vorovich (Inactive) [ 2022-03-23 ] |
|
pramod.mahto@mariadb.com Yes, I absolutely understand the need to access files [root@cs-node-0 /]# id Your example is also in Sky , correct ? |
| Comment by Leonid Fedorov [ 2023-10-27 ] |
|
Fixed in version 23.02 |