Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 8380

Summary: tar 1.12 --exclude broken; /proc fills tape!
Product: [Retired] Red Hat Linux Reporter: Karl O. Pinc <karl>
Component: tarAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-26 13:25:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Karl O. Pinc 2000-01-11 19:06:18 UTC
tar -C / --exclude='./proc/*' -cf /dev/nst0 .
does not exclude /proc.  tar -1.13.?? (as shipped on RedHat 6.1) does
exclude.

The exclude pattern in version 1.12 is not being compared against a
pathname with a leading "./".  The leading "./" is missing.  Or that's what
it _seems_ like is happening.  I haven't looked at the source code.

Tapes are filling up and the system is not getting full backups.

Installing tar 1.13 fixes this.

Comment 1 Karl O. Pinc 2000-01-13 18:23:59 UTC
Version 1.12 of tar also was not able to read a tar file created on a hp-ux 9
system.

Comment 2 Jeff Johnson 2000-01-14 20:40:59 UTC
Tar-1.13.n is available in Raw Hide.

Can you supply a small hppux 9 tar ball for analysis and testing? Thanks.