Bug 1136889

Summary: Includefile directive in disklist bug
Product: [Fedora] Fedora Reporter: Nuno Dias <nuno.dias>
Component: amandaAssignee: Petr Hracek <phracek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 20CC: fedora, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: amanda-3.3.6-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-25 10:36:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to solve the problem none

Description Nuno Dias 2014-09-03 14:21:31 UTC
Created attachment 934113 [details]
Patch to solve the problem

Description of problem:

In amanda if I use includefile directive in disklist, that
directive must be the first thing in the file, and only one includefile
is allowed.


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

How reproducible:


Steps to Reproduce:
1. Create a disklist
2. put two includefile directives in the file
3.

Actual results:


Expected results:


Additional info:
I reported this problem to the amanda-users list and I got the patch in attachment that work, could you include this in future updates of amanda?

Comment 1 Petr Hracek 2014-09-05 11:41:39 UTC
This is already fixed in amanda-3.3.6.
I am planning to increase amanda version to 3.3.6 in Fedora 20 as well.

Comment 2 Petr Hracek 2014-09-12 08:22:39 UTC
I fixed this bug so that in Fedora 20 will be amanda-3.3.6.

scm-commit (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140908/1376476.html) switched to MODIFIED

Comment 3 Fedora Update System 2014-09-12 08:47:18 UTC
amanda-3.3.6-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/amanda-3.3.6-1.fc20

Comment 4 Fedora Update System 2014-09-13 06:52:26 UTC
Package amanda-3.3.6-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.6-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10800/amanda-3.3.6-1.fc20
then log in and leave karma (feedback).

Comment 5 Nuno Dias 2014-09-15 13:28:29 UTC
The update works as expected.

Thanks.

Comment 6 Nuno Dias 2014-09-15 16:25:17 UTC
After start amanda now I have this kind of warnings, 

** (process:16734): WARNING **: Use of uninitialized value in subtraction (-) at /usr/sbin/amstatus line 568, <AMDUMP> line 62677.

One for each backup.

This is a bug resolved in 2010

http://archives.zmanda.com/amanda-archives/viewtopic.php?t=6551&sid=93fe9359ce351d88c88299baf6858327

maybe a regression?

Comment 7 Fedora Update System 2014-09-25 10:36:25 UTC
amanda-3.3.6-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.