Bug 1292564

Summary: cannot pipe a tarball reliably
Product: [Fedora] Fedora Reporter: Richard Jasmin <spike85051>
Component: gzipAssignee: Petr Stodulka <pstodulk>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: pstodulk, spike85051
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:36:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Jasmin 2015-12-17 19:32:36 UTC
Description of problem:
GZipping on the fly sometimes from tar when making a backup stalls gzip in a loop somewhere.

Version-Release number of selected component (if applicable):
22

How reproducible:
always

Steps to Reproduce:
Puts backup files where you are standing. (with pwd)

Do this for every full backup set:

tar -cP --exclude-backups --exclude-caches-all --exclude-vcs --exclude=.cache -f backup.tar /home/<you>/ 

for incremental sets(NOTE container edits backup the whole container):

NOW=`date +%d-%b`
echo $NOW > backup-date

NEWER="--newer-mtime `cat backup-date`"

tar $NEWER -cP --exclude-backups --exclude-caches-all --exclude-vcs --exclude=.cache -f backup-inc.tar /home/<you>/ 


Actual results:
you should be able to use the z for GZIP option but it stalls for some reason when using it.Obviously you can gzip the tarball once the process finishes.

Expected results:
I want to zip this on the fly when I make the tarball.

Additional info:
In relations to Bug 1283843 when making a backup with --newer option for tar.

Comment 1 Fedora End Of Life 2016-07-19 18:36:36 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 2 Petr Stodulka 2016-07-20 08:32:40 UTC
Hi Richard. I was trying your reproducer but I am not able reproduce it on my F22 system as You described - but it's possible that I do something wrong. Are You still able to reproduce it?

----
I am in ~/Documents/


$ NOW=`date +%d-%b`
$ echo $NOW > backup-date
$ NEWER="--newer-mtime `cat backup-date`"

$ tar $NEWER -cP --exclude-backups --exclude-caches-all --exclude-vcs --exclude=.cache -zf backup-inc.tar ~/Documents

---

Just I am not using home directory but I don't see here difference.

Comment 3 Red Hat Bugzilla 2023-09-14 03:14:58 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days