Bug 192770

Summary: tar produces verbose output, even when verbose is not specified
Product: Red Hat Enterprise Linux 4 Reporter: Jim Perrin <james.l.perrin>
Component: tarAssignee: Peter Vrabec <pvrabec>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: iarrusl, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0662 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-14 04:31:53 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:
Bug Depends On:    
Bug Blocks: 201655    
Attachments:
Description Flags
proposed patch
none
patch of the previous patch none

Description Jim Perrin 2006-05-22 20:34:01 UTC
Description of problem:
tar produces verbose output, even when -v is not specified.

Version-Release number of selected component (if applicable):
RHEL 4 fastrack channel tar, version tar-1.14-10.RHEL4

How reproducible:
Always

Steps to Reproduce:
1. install tar
2. Run a tar backup command like -> tar --newer=./backup.timestamp  -czf
./foo.tar.gz . 
3. Note that unchanged files are also listed in the output, with "file is
unchanged; not dumped"
4. This extra output was not in previous versions of tar before this one.


  
Actual results:
All files are listed in tar output, even unchanged files. 

Expected results:
Only changed files should produce output unless -v is specified.

Additional info:

Email communication with Sergey Poznyakoff (tar developer) confirms that this 
'feature' of tar was added, then reverted because of its annoyance. It should
now only be available with -v or --verbose.
 
Email communication with sergey copied below  
 
> A while back, someone posted a bug / feature request for version 1.15.1 to
> disable the "file is unchanged; not dumped" messages that occur when doing a
> backup with --newer, or a switch to revert to the old behavior.
 
Recent versions print this message only if given the  -v (--verbose)
option.
 
Regards,
Sergey 


This added output was not in previous versions of tar released in RHEL, nor is
it produced by current vanilla tar source (version 1.15.90). This addded output
is far from desirable and increases the size of backup logs from 3-4K daily to
375K daily.

Comment 1 Peter Vrabec 2006-05-23 09:02:55 UTC
Created attachment 129846 [details]
proposed patch

Comment 2 Jim Perrin 2006-05-24 00:15:38 UTC
Created attachment 129894 [details]
patch of the previous patch

the previous patch seemed to be made from an attempted patch, and not the tar
source. This one should apply cleanly.

Comment 13 Peter Vrabec 2006-09-10 09:26:37 UTC
*** Bug 205877 has been marked as a duplicate of this bug. ***

Comment 14 Red Hat Bugzilla 2006-09-14 04:31:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0662.html