-
Notifications
You must be signed in to change notification settings - Fork 290
Description
Bareos component version
bareos-fd --version
24.0.0
Steps to reproduce
Fileset:
...
Plugin = "python"
":module_path=/usr/lib64/bareos/plugins"
":module_name=bareos-fd-mariabackup"
":mycnf=/etc/bareos/mariadb.cnf"
...
Expected results
Working backup
Actual results
Error:
python3-fd-mod: Unable to determine mariadb version
Environment
- OS: RHEL 9.5
- component: MariaDB 10.6Relevant log output
Relevant traces output
Anything else?
Running debug mode, I see that the mycnf option was not set:
(100): module/bareosfd.cc:1422-327777 python3-fd.so: python3-fd-mod: mariadb version check: "['mariadb', '-r', '--batch', '--skip-column-names', '--execute', 'select version();']"
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
(100): module/bareosfd.cc:1422-327777 python3-fd.so: python3-fd-mod: No mariadb version detected: Command '['mariadb', '-r', '--batch', '--skip-column-names', '--execute', 'select v
ersion();']' returned non-zero exit status 1.
The needed option --defaults-extra-file=... are not set. See here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis addresses a bugThis addresses a bug