No dependency check in RPM package for Perl Digest::MD5
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
Medium
|
EvgeniyPatlan | |||
2.4 |
Fix Released
|
Medium
|
EvgeniyPatlan |
Bug Description
If Perl module Digest::MD5 is not installed innobackupex will generate error:
sveta@Thinkie:
161123 00:45:41 innobackupex: Starting the backup operation
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /etc/perl /usr/local/
BEGIN failed--compilation aborted at - line 693.
161123 00:45:41 Connecting to MySQL server host: 127.0.0.1, user: root, password: not set, port: 13001, socket: (null)
Using server version 5.6.32-
./usr/bin/
xtrabackup: uses posix_fadvise().
...
Thought backup will continue.
But RPM package does not list this dependency:
sveta@Thinkie:
warning: percona-
sveta@Thinkie:
warning: percona-
sveta@Thinkie:
Suggested fix: add dependency into RPM package
It is needed for varsion_check I suppose. It doesn't affect the backup functionality. If one just want to get rid of error message he can simply add --no-version-check.
Version_check feature added to several Percona tools https:/ /www.percona. com/blog/ 2012/09/ 10/introducing- the-version- check-feature- in-percona- toolkit/