From 9e13fede631749e9dcd100f8d4eebdb1e01c0edb Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 12 Mar 2018 10:14:44 +0100 Subject: [PATCH] MM crawler: skip lost+found during rsync crawl The rsync based crawler has two excludes hardcoded: cmd = "rsync --temp-dir=/tmp -r --exclude=.snapshot --exclude='*.~tmp~'" To avoid failures during rsync crawling this adds 'lost+found' to the exclude list via the configuration file. Signed-off-by: Adrian Reber --- roles/mirrormanager/frontend2/templates/mirrormanager2.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg index 2bdd602733..69c930b23f 100644 --- a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg +++ b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg @@ -161,7 +161,7 @@ CHECK_SESSION_IP = True # Specify additional rsync parameters for the crawler # # --timeout 14400: abort rsync crawl after 4 hours -CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400' +CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400 --exclude=lost+found' ### # Configuration options used by the crons