Univention Bugzilla – Bug 35392
tar in univention-samba4-backup generates sporadically failures
Last modified: 2014-09-11 15:02:00 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
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
(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.
(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.
(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.
Ok, looks good and works. Merged to UCS 4.0-0 as well. Advisory Ok.
http://errata.univention.de/ucs/3.2/193.html