Univention Bugzilla – Bug 30823
sysvol-sync does not check timestamps properly
Last modified: 2013-05-30 10:28:41 CEST
The sysvol-sync script should preserve timestamps while copying GPOs from downstream DCs. Otherwise the second local "rsync -u" will never preserve files in /var/lib/samba/sysvol ind the S4-Connector host that are actually newer than the ones on the downstream DCs. ================================================================================ ## step one: pull over network from downstream s4dc ## -> -t is missing here! univention-ssh-rsync /etc/machine.secret -aAX --delete \ "${hostname}\$"@"${s4dc}":"${SYSVOL_PATH}"/ "$importdir" 2>/dev/null ## step two: sync into hot target dir with local filesystem sp rsync -auAX "$importdir"/ "$SYSVOL_PATH" ================================================================================
Fixed in errata3.1-1 and ucs3.1-2. Advisory: 2013-05-07-univention-samba4.yaml Changelog: changelog-3.1-2.tex
3.1-1 errata: OK, I was not able to reproduce this issue. The sync works like expected. YAML: OK 3.1-2: OK (Code comparison) Changelog: OK
http://errata.univention.de/ucs/3.1/114.html