Bug 35392 - tar in univention-samba4-backup generates sporadically failures
tar in univention-samba4-backup generates sporadically failures
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.2-3-errata
Assigned To: Felix Botner
Arvid Requate
:
Depends on:
Blocks: 35907
  Show dependency treegraph
 
Reported: 2014-07-17 09:36 CEST by Ingo Steuwer
Modified: 2014-09-11 15:02 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Steuwer univentionstaff 2014-07-17 09:36:29 CEST
The CRON job for univention-samba4-backup sends "from time to time" (about 2-3 times per month) a failure mail:

tar: ./private: file changed as we read it


System is a UCS DC Master 3.2-2 Errata 150
Comment 1 Felix Botner univentionstaff 2014-08-28 13:00:19 CEST
univention-samba4-backup now ignores the "file changed as we read it" from tar.

Also, tdb are backuped with tdbbackup.

Merged to UCS 4.0

YAML: 2014-08-28-univention-samba4.yaml
Comment 2 Clemens Momberg 2014-09-03 09:26:12 CEST
(In reply to Felix Botner from comment #1)
> univention-samba4-backup now ignores the "file changed as we read it" from
> tar.
> 
> Also, tdb are backuped with tdbbackup.
> 
> Merged to UCS 4.0
> 
> YAML: 2014-08-28-univention-samba4.yaml

Is it possible to get the patch prior to the release of UCS 4 to add the changes manually in 3.2-3 errata185.
Comment 3 Felix Botner univentionstaff 2014-09-03 09:37:13 CEST
(In reply to Clemens Momberg from comment #2)
> (In reply to Felix Botner from comment #1)
> > univention-samba4-backup now ignores the "file changed as we read it" from
> > tar.
> > 
> > Also, tdb are backuped with tdbbackup.
> > 
> > Merged to UCS 4.0
> > 
> > YAML: 2014-08-28-univention-samba4.yaml
> 
> Is it possible to get the patch prior to the release of UCS 4 to add the
> changes manually in 3.2-3 errata185.

This fix is for errata3.2-3 (see target milestone). So depending on how fast we can verify this bug, this should be released with one of the next errata updates.

p.s.
Basically what i did was to add the "--warning=no-file-changed" switch to the tar command.
Comment 4 Felix Botner univentionstaff 2014-09-03 09:41:04 CEST
(In reply to Felix Botner from comment #3)
> (In reply to Clemens Momberg from comment #2)
> > (In reply to Felix Botner from comment #1)
> > > univention-samba4-backup now ignores the "file changed as we read it" from
> > > tar.
> > > 
> > > Also, tdb are backuped with tdbbackup.
> > > 
> > > Merged to UCS 4.0
> > > 
> > > YAML: 2014-08-28-univention-samba4.yaml
> > 
> > Is it possible to get the patch prior to the release of UCS 4 to add the
> > changes manually in 3.2-3 errata185.
> 
> This fix is for errata3.2-3 (see target milestone). So depending on how fast
> we can verify this bug, this should be released with one of the next errata
> updates.
> 
> p.s.
> Basically what i did was to add the "--warning=no-file-changed" switch to
> the tar command.

Please see 

http://forge.univention.org/websvn/comp.php?repname=dev&compare[]=%2Fbranches%2Fucs-3.2%2Fucs-3.2-3%2Fservices%2Funivention-samba4@18213&compare[]=%2Fbranches%2Fucs-3.2%2Fucs-3.2-3%2Fservices%2Funivention-samba4@18296

for a complete diff.
Comment 5 Arvid Requate univentionstaff 2014-09-03 19:06:13 CEST
Ok, looks good and works. Merged to UCS 4.0-0 as well. Advisory Ok.
Comment 6 Janek Walkenhorst univentionstaff 2014-09-10 17:36:29 CEST
http://errata.univention.de/ucs/3.2/193.html