Mute tar "file changed as we read it" warnings
Bug #1342034 reported by
Caspar Clemens Mierau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bashup |
New
|
Undecided
|
Unassigned |
Bug Description
When backing up a directory via "tree" with changing contents, the following tar warning occurs:
" [Mon Jul 14 04:40:02 UTC 2014] WARNING: tar had warnings: tar: var/cache/icinga: file changed as we read it
> /usr/lib/
It would be great being able to mute this warning, if you intentionally ignore it. You could either add the possibility to give parameters to the tar call or allow setting "--ignore-
To post a comment you must log in.
Hello Caspar Clemens,
Did you set a value for the WARN_LOG variable before running bashup?
Example: /var/log/ bashup_ warn.log
# ... other variables set here
WARN_LOG=
I had the same problem appearing: bashup/ bashup_ common. sh: line 509: ${warn}: ambiguous redirect"
"> /usr/lib/
which disappeared after setting a value to WARN_LOG.
Perhaps there is a way to use just bashup's combined log instead of warn log and error log separately but still have not discovered how to set this up.
--
Paweł Radecki