From 08a303d87a37b70fe61af06aebad15558c79d4b4 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 26 May 2016 07:40:38 +0000 Subject: [PATCH] Allow MirrorManager to access pre-bitflip content https://fedorahosted.org/fedora-infrastructure/ticket/5289 MirrorManager cannot access pre-bitflip content. Putting the mirrormanager user into the ftpsync(263) group should enable the mirrormanager user to read the files. Signed-off-by: Adrian Reber --- roles/mirrormanager/backend/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/mirrormanager/backend/tasks/main.yml b/roles/mirrormanager/backend/tasks/main.yml index 888755c53f..44a6f257f7 100644 --- a/roles/mirrormanager/backend/tasks/main.yml +++ b/roles/mirrormanager/backend/tasks/main.yml @@ -96,3 +96,14 @@ # when under memory pressure. Let's also set it on the mm backend # systems as umdl is also mainly looking at the metadata. - sysctl: name=vm.vfs_cache_pressure value=10 state=present sysctl_set=yes reload=yes + +# MirrorManager cannot access pre-bitflip content: +# https://fedorahosted.org/fedora-infrastructure/ticket/5289 +# Putting the mirrormanager user into the ftpsync(263) group +# should enable the mirrormanager user to read the files. + +- group: name=ftpsync state=present gid=263 + +# The mirrormanager user is created by the mirrormanager2-backend RPM +# Just adding it the existing user to the ftpsync group. +- user: name=mirrormanager groups=ftpsync append=yes