[MDEV-27867] missing required privilege REPLICATION CLIENT by /usr/bin/mariabackup Created: 2022-02-17 Updated: 2022-08-26 Resolved: 2022-08-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.7.3 |
| Fix Version/s: | 10.5.18, 10.6.10, 10.7.6, 10.8.5, 10.9.3, 10.10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Test Jetco | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RedHat Enterprise Linux 8.5 |
||
| Issue Links: |
|
||||||||
| Description |
|
I am using mariadb 10.7.3. I tried to perform db backup using '/usr/bin/mariabackup' by user other than root.
I have granted the following privileges to the backup db user, mariadbbackup:
After backup, I reviewed the backup log and found the following statement: Warning: missing required privilege REPLICATION CLIENT on . I have already granted 'REPLICATION CLIENT' but it didn't show up after using 'show grant' command. I already have both BINLOG MONITOR and REPLICA MONITOR privileges granted. But still the warning message appears. How should I solve this issue? |
| Comments |
| Comment by Daniel Black [ 2022-08-24 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
TODO for myself, ensure that https://github.com/MariaDB/server/pull/2211 covers this case and then can close this and linked PR. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2022-08-25 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Tested with above branch, without grants initially:
And with grants added (grant reload,process,CONNECTION ADMIN, replica monitor on . to backup@localhost;):
Its still a stand alone without galera (hence failed to get master wsrep status) message. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2022-08-26 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
fixed as part of |