Bug 913058

Summary: GNU tar doesn't cooperate well with Amanda anymore
Product: [openSUSE] openSUSE Distribution Reporter: Andreas Bolsch <andreas.bolsch>
Component: BasesystemAssignee: Kristyna Streitova <kstreitova>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: andreas.bolsch, kstreitova, maint-coord, mpluskal, vcizek
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 918487, 919233    
Bug Blocks:    

Description Andreas Bolsch 2015-01-14 09:59:15 UTC
Restoring files from Amanda via 'amrecover' doesn't work as expected anymore. When adding a directory to the extraction list only the directory itself gets extracted from the backup but *NOT* the files and directories below it.

This affects only the recovery, the files still go into the backups and it is possible to extract everything manually, but that's quite cumbersome and makes 'amrecover' almost useless ...

Details and a patch already available in the thread starting at

http://lists.gnu.org/archive/html/bug-tar/2014-09/msg00006.html

Would be nice to have the patch integrated.
Comment 1 Martin Pluskal 2015-01-26 12:28:24 UTC
Please try updated tar from http://download.opensuse.org/repositories/home:/pluskalm:/branches:/Base:/System/openSUSE_13.2/ and let me know if it works for you. Thanks
Comment 3 Vítězslav Čížek 2015-02-09 15:08:32 UTC
Submitted fixed packages to 13.2 and Factory.
Comment 5 Bernhard Wiedemann 2015-02-09 16:00:11 UTC
This is an autogenerated message for OBS integration:
This bug (913058) was mentioned in
https://build.opensuse.org/request/show/284873 13.2+13.1 / tar
Comment 7 Andreas Bolsch 2015-02-13 18:32:46 UTC
tar-1.28-2.13.1 works as expected again. Thanks!
Comment 8 Swamp Workflow Management 2015-02-17 13:05:12 UTC
openSUSE-RU-2015:0302-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 913058
CVE References: 
Sources used:
openSUSE 13.2 (src):    tar-1.28-2.13.1
openSUSE 13.1 (src):    tar-1.26-19.16.1
Comment 9 Vítězslav Čížek 2015-04-10 13:32:03 UTC
Fix for this bug caused a regression: bug 918487.
Comment 10 Vítězslav Čížek 2015-04-13 10:52:11 UTC
(In reply to Vitezslav Cizek from comment #9)
> Fix for this bug caused a regression: bug 918487.

The patch was reverted until we have a working one.
Reopening the bug.
Comment 12 Martin Pluskal 2016-07-16 12:26:10 UTC
*** Bug 989265 has been marked as a duplicate of this bug. ***
Comment 13 Kristyna Streitova 2016-11-10 11:55:41 UTC
(In reply to Vítězslav Čížek from comment #9)
> Fix for this bug caused a regression: bug 918487.

It seems that upstream doesn't consider this a regression but intended change in behavior instead [1].

In this case, we can restore the reverted patch and fix all packages that use the wrong option position.

For now, we know about:
- amanda (bug 913058)
- dpkg   (bug 919233)


[1] http://lists.gnu.org/archive/html/bug-tar/2016-05/msg00010.html
Comment 14 Kristyna Streitova 2016-11-10 12:42:25 UTC
(In reply to Kristyna Streitova from comment #13)
> For now, we know about:
> - amanda (bug 913058)
> - dpkg   (bug 919233)

Sorry, amanda isn't affected. So dpkg (bug 919233) only.
Comment 15 Bernhard Wiedemann 2016-11-10 17:00:50 UTC
This is an autogenerated message for OBS integration:
This bug (913058) was mentioned in
https://build.opensuse.org/request/show/439557 13.2 / dpkg
https://build.opensuse.org/request/show/439565 13.2 / tar
Comment 16 Kristyna Streitova 2016-11-10 17:54:48 UTC
|    Codestream    | Request - tar | Request - dpkg |
|------------------|---------------|----------------|
| SLE10SP3         | not affected  | -              |
| SLE11            | not affected  | -              |
| SLE12            | #123860       | *              |
| openSUSE 13.2    | #439565       | #439557        |
| Leap             | via SLE12     | #123855        |
| openSUSE:Factory | not affected  | -              |

* it was consulted with Leonardo that dpkg change isn't required here.

Closing as fixed.
Comment 17 Kristyna Streitova 2016-11-10 17:58:20 UTC
Fixed.
Comment 20 Swamp Workflow Management 2016-11-22 18:02:59 UTC
openSUSE-SU-2016:2874-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1007188,913058
CVE References: CVE-2016-6321
Sources used:
openSUSE 13.2 (src):    tar-1.28-2.19.1
Comment 21 Swamp Workflow Management 2016-11-24 11:09:53 UTC
SUSE-SU-2016:2896-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1007188,913058
CVE References: CVE-2016-6321
Sources used:
SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src):    tar-1.27.1-11.1
SUSE Linux Enterprise Server 12-SP2 (src):    tar-1.27.1-11.1
SUSE Linux Enterprise Server 12-SP1 (src):    tar-1.27.1-11.1
SUSE Linux Enterprise Desktop 12-SP2 (src):    tar-1.27.1-11.1
SUSE Linux Enterprise Desktop 12-SP1 (src):    tar-1.27.1-11.1
Comment 22 Swamp Workflow Management 2016-11-24 18:07:09 UTC
openSUSE-RU-2016:2906-1: An update that has two recommended fixes can now be installed.

Category: recommended (low)
Bug References: 913058,919233
CVE References: 
Sources used:
openSUSE 13.2 (src):    dpkg-1.16.16-8.6.1, update-alternatives-1.16.16-8.6.1
Comment 23 Swamp Workflow Management 2016-12-05 12:09:10 UTC
openSUSE-SU-2016:3003-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1007188,913058
CVE References: CVE-2016-6321
Sources used:
openSUSE Leap 42.2 (src):    tar-1.27.1-8.1
openSUSE Leap 42.1 (src):    tar-1.27.1-9.1
Comment 24 Swamp Workflow Management 2017-01-18 23:09:54 UTC
SUSE-RU-2017:0202-1: An update that has two recommended fixes can now be installed.

Category: recommended (low)
Bug References: 913058,919233
CVE References: 
Sources used:
SUSE Linux Enterprise Server 12-SP1 (src):    update-alternatives-1.16.10-12.3.1
SUSE Linux Enterprise Desktop 12-SP1 (src):    update-alternatives-1.16.10-12.3.1
Comment 25 Swamp Workflow Management 2017-01-28 13:13:35 UTC
openSUSE-RU-2017:0317-1: An update that has two recommended fixes can now be installed.

Category: recommended (low)
Bug References: 913058,919233
CVE References: 
Sources used:
openSUSE Leap 42.1 (src):    dpkg-1.16.10-11.1, update-alternatives-1.16.10-11.1