[MDEV-33319] max_binlog_total_size and slave_connections_needed_for_purge require wrong permissions Created: 2024-01-26 Updated: 2024-01-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication, Variables |
| Affects Version/s: | N/A |
| Fix Version/s: | 11.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Since 10.5, variables for binlog configuration require BINLOG ADMIN privilege, not SUPER. I think the same should apply to the new max_binlog_total_size and slave_connections_needed_for_purge variables, too.
|
| Comments |
| Comment by Michael Widenius [ 2024-01-27 ] |
|
Strange that max_relay_log_size requires SUPER ? |
| Comment by Michael Widenius [ 2024-01-27 ] |
|
max_binlog_total_size and slave_connections_needed_for_purge fixed in my tree to require BINLOG ADMIN privilege |
| Comment by Elena Stepanova [ 2024-01-27 ] |
|
I don't know to whom max_relay_log_size should belong, but I doubt it would be BINLOG ADMIN. Maybe REPLICATION SLAVE ADMIN? I guess serg can say for sure (and whether it needs to be changed). |
| Comment by Sergei Golubchik [ 2024-01-27 ] |
|
I'd say it's logical if max_relay_log_size would require the same privileges as relay_log_purge. In that case — REPLICATION SLAVE ADMIN, indeed. |