|
Bugzilla – Full Text Bug Listing |
| Summary: | yast-backup - tar-file | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Bernd Petzold <b.pe> |
| Component: | YaST2 | Assignee: | Lukas Ocilka <locilka> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | ast, coolo, harbrink, hmuelle, iweksler, juerg.allemann |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
y2logs created with save_y2logs
The resulting backup files yast2-backup-2.16.0-0.noarch.rpm (new RPM) y2logs of the backup run with the fixed rpm New RPM (should fix the previous one) Patch |
||
|
Description
Bernd Petzold
2007-10-10 16:05:01 UTC
Please attach y2logs. If you are in doubt follow: http://en.opensuse.org/Bugs/YaST Thanks! Please reopen the bug if you can provide the needed information, thanks. I can confirm this behaviour on 2 machines. Same result if using ncurses. Created attachment 179498 [details]
y2logs created with save_y2logs
Backup operation starts at timestamp 2007-10-19 18:43:49, ends at 2007-10-19 18:57:56
Created attachment 179501 [details]
The resulting backup files
Did you try to debug it why is it so? Did you try to list files that are going to be backed up? I've reproduced the error (and fixed some more) :) Would you prefer to test a 'patch' (diff to sources) or RPM (i386, x86_64)? I can't say 'fixed' until you test it :) So, could you, please test it? Created attachment 180031 [details]
yast2-backup-2.16.0-0.noarch.rpm (new RPM)
I just did just one backup run using the fresh rpm. The summary reported "Archive creation failed", (Details: "Total Archived Files: 0"), but the created archive looks ok to me. Created attachment 180094 [details]
y2logs of the backup run with the fixed rpm
Created attachment 180480 [details]
New RPM (should fix the previous one)
My backup result was:
--- cut ---
Modified Files Found: 26
Total Size: 76.91 kB
Files Not in a Package Found: 1224
Total Size: 20.24 MB
Archive /install/archive.tar created successfully
Autoinstallation profile saved to file /install/archive.xml.
--- cut ---
Please, retest :) I made several backup runs, all of them reported "Successful". And the resulting archives seem to be restorable. Cool! Created attachment 181139 [details]
Patch
Needs to be checked that tar hasn't changed how it behaves with "-C /directory" parameter. The current patch expects that it sometimes doesn't work well and does it the other way.
Anyway, the most important part of the patch is:
--- cut ---
string filename = nil;
if (is(WFM::Args(0), string)) {
- string filename = (string) WFM::Args (0);
+ filename = (string) WFM::Args (0);
} else {
y2error ("Wrong parameter for script");
return false;
--- cut ---
WFM::Args whould have redefine a variable, but defines another one...
use MaintenanceTracker-14440 - Fixed creating the archive (tar -C). - Fixed reading installed packages. - Better solution of some exceptions when creating the archive and temporary directories. - Fixed escaping backquotes for files presented in UI. (All in bugzilla #332663) - yast2-backup-2.15.5 (Will be released as update soon) Released for 10.3 *** Bug 339896 has been marked as a duplicate of this bug. *** |