Bug 35392

Summary: tar in univention-samba4-backup generates sporadically failures
Product: UCS Reporter: Ingo Steuwer <steuwer>
Component: Samba4Assignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 CC: c.momberg, gohmann, walkenhorst
Version: UCS 3.1   
Target Milestone: UCS 3.2-3-errata   
Hardware: Other   
OS: Linux   
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:
Bug Depends on:    
Bug Blocks: 35907    

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