Bug 1225841 - Amanda amcheck broken: undefined symbol: struct_file_lock_lock at /usr/lib64/perl5/DynaLoader.pm line 193
Summary: Amanda amcheck broken: undefined symbol: struct_file_lock_lock at /usr/lib64/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: 22
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Petr Hracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-28 10:19 UTC by Peter Bieringer
Modified: 2015-07-04 20:13 UTC (History)
5 users (show)

Fixed In Version: amanda-3.3.7p1-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-04 20:13:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Bieringer 2015-05-28 10:19:35 UTC
Description of problem:
Amanda amcheck won't work

Version-Release number of selected component (if applicable):

$ rpm -qf `which amcheck`
amanda-server-3.3.6-10.fc22.x86_64

$ rpm -qf /usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so
amanda-libs-3.3.6-10.fc22.x86_64

$ rpm -qf /usr/lib64/perl5/vendor_perl/Amanda/Util.pm
amanda-3.3.6-10.fc22.x86_64

$ rpm -qf /usr/lib64/perl5/DynaLoader.pm
perl-5.20.2-325.fc22.x86_64



How reproducible:

$ amcheck <HOST>
Amanda Tape Server Host Check
-----------------------------
WARNING: holding disk ***: only 18739200 kB available (20971520 kB requested)
Can't load '/usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so' for module Amanda::Util: /usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so: undefined symbol: struct_file_lock_lock at /usr/lib64/perl5/DynaLoader.pm line 193.
 at /usr/lib64/perl5/vendor_perl/Amanda/Util.pm line 11.
Compilation failed in require at /usr/lib64/amanda/amcheck-device line 25.
BEGIN failed--compilation aborted at /usr/lib64/amanda/amcheck-device line 25.
Server check took 0.048 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 1.253 seconds.  0 problems found.

(brought to you by Amanda 3.3.6)



Steps to Reproduce:
see above

Actual results:
amcheck is not working

Expected results:
working

Additional info:

Comment 1 Nuno Dias 2015-06-06 14:25:37 UTC
I can confirm I have the same problem.

Comment 2 Julian C. Dunn 2015-06-14 21:57:23 UTC
amdump won't work either due to the same problem, which makes Amanda non-functional.

$ sudo -u amandabackup /usr/sbin/amdump <XXX>
Can't load '/usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so' for module Amanda::Util: /usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so: undefined symbol: struct_file_lock_lock at /usr/lib64/perl5/DynaLoader.pm line 193.
 at /usr/lib64/perl5/vendor_perl/Amanda/Util.pm line 11.
Compilation failed in require at /usr/sbin/amdump line 30.
BEGIN failed--compilation aborted at /usr/sbin/amdump line 30.

Comment 4 Peter Bieringer 2015-06-20 17:41:49 UTC
Hmm, looks like nobody take care regarding this issue leaving amanda broken in Fedora 22 for the time being...

...for those who can't wait here an adjusted spec file for 3.3.7p1, a rebuild based on F22 source rpm is working fine again (tested on 2 systems).

--- amanda.spec	2015-02-27 14:27:07.000000000 +0100
+++ amanda-3.3.7p1.spec	2015-06-20 18:42:17.551446207 +0200
@@ -9,7 +9,7 @@
 
 Summary: A network-capable tape backup solution
 Name: amanda
-Version: 3.3.6
+Version: 3.3.7p1
 Release: 10%{?dist}
 Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
 Source1: amanda.crontab
@@ -109,9 +109,9 @@
 %patch1 -p1 -b .xattrs
 %patch2 -p1 -b .tcpport
 %patch3 -p1 -b .config
-%patch4 -p1 -b .autogen
-%patch5 -p1 -b .krb5
-%patch6 -p1 -b .swig-3.0.5
+#%patch4 -p1 -b .autogen
+#%patch5 -p1 -b .krb5
+#%patch6 -p1 -b .swig-3.0.5
 ./autogen
 
 %build
@@ -270,6 +270,7 @@
 %{perl_vendorarch}/Amanda/Tests.pm
 %{perl_vendorarch}/Amanda/Util.pm
 %{perl_vendorarch}/Amanda/Xfer.pm
+%{perl_vendorarch}/Amanda/Message.pm
 
 %{_mandir}/man5/amanda-archive-format.5*
 %{_mandir}/man7/amanda-compatibility.7*

Comment 5 Julian C. Dunn 2015-06-21 14:54:05 UTC
(In reply to Peter Bieringer from comment #4)

That patch works for me. Thanks Peter!

Comment 7 Fedora Update System 2015-06-22 11:01:07 UTC
amanda-3.3.7p1-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/amanda-3.3.7p1-1.fc22

Comment 8 Fedora Update System 2015-06-23 09:15:15 UTC
Package amanda-3.3.7p1-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing amanda-3.3.7p1-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10554/amanda-3.3.7p1-1.fc22
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2015-07-04 20:13:04 UTC
amanda-3.3.7p1-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.