Univention Bugzilla – Bug 35907
tar in univention-samba4-backup generates sporadically failures
Last modified: 2016-12-20 15:02:54 CET
Please check if a test case is possible. +++ This bug was initially created as a clone of Bug #35392 +++ 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
(In reply to Stefan Gohmann from comment #0) > Please check if a test case is possible. > The only thing that can be checked is that a 'tar' was called with a right set of arguments from the 'univention-samba4-backup', but that does not seem to be really useful.
Maybe check that running the cronjob (manually) doesn't output anything unexpected?
(In reply to Arvid Requate from comment #2) > Maybe check that running the cronjob (manually) doesn't output anything > unexpected? Perhaps like that? r57919: * 51_samba4/21backup_warning_messages: check that univention-samba4-backup does not print warnings (Bug #35907).
Ok, when matching the output of programs, it's recommended to run them under a defined locale, like LANG=C univention-samba4-backup
(In reply to Arvid Requate from comment #4) > Ok, when matching the output of programs, it's recommended to run them under > a defined locale, like > > LANG=C univention-samba4-backup There is only one test in UCS and UCS@School which does it so far :-) r58122: * 51_samba4/21backup_warning_messages: use "LANG=C" with univention-samba4-backup (Bug #35907).
Udated the test case in r75423-30 (4.2-0) / 75426-29 (4.1-4): - Some cleanup of local variables - Simplified error matching/testing - Concurrent modification of the backup dirs while the tool is running.