First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 52944
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Leonid Kabanov <lkabanov@mail.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 52944 depends on: Show dependency tree
Bug 52944 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-03 21:50 0000
I've disks with folowing dumptype:
define dumptype root-tar-tmp {
    root-tar
    comment "root partitions dumped with tar and without /tmp"
    exclude "./tmp"
}
These disks are not dumped because dump size calculated using amqde. amqde exec'ed with `-x' option in this case. Here is part of `client-src/amqde.c':
<--- skipped 84L --->
        while ((ch = getopt(argc, argv, "s:x:")) != EOF) {
                switch (ch) {
<--- skipped 4L --->
                case 'x':
                        exit(0);
<--- skipped rest of file --->
So it never return dump size with `exclude' options in dumptype definition. `--with-qde' should be removed from ebuild or it should be optional and turned off by default.

Reproducible: Always
Steps to Reproduce:
1. emerge =app-admin/amanda-2.4.4_p2-r1
2. define `root-tar-tmp' dumptype as described above and add folowing line in disklist:
localhost / root-tar-tmp
3. su amanda -c 'amdump DailySet1'

Actual Results:  
FAIL planner localhost / 20040604 0 [disk /, all estimate failed] 

Expected Results:  
SUCCESS dumper localhost / 20040604 0 [...] 
SUCCESS taper localhost / 20040604 0 [...]

------- Comment #1 From Robin Johnson 2004-06-04 02:24:22 0000 -------
i've hardmasked this version of amanda until I check it out more.

------- Comment #2 From Sasha Khapyorsky 2004-06-10 05:44:13 0000 -------
With amanda-2.4.4_p2-r1 I had exactly same problem: estimation fails with
'tar+exclude' dumps. Recent amanda-2.4.4-r3 (w/out `--with-qde') works as
expected.

------- Comment #3 From Robin Johnson 2004-07-04 17:04:37 0000 -------
i've properly removed the qde option now.

First Last Prev Next    No search results available      Search page      Enter new bug