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: --- Target Upstream Version:
Embargoed:

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.