From 687ea8d333266521f3fde2335af18e316560fb20 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 14 Jul 2016 22:15:22 -0400 Subject: [PATCH] BF: do not rely on long relative path to upstairs config - symlink common.conf --- fail2ban/tests/config/filter.d/common.conf | 1 + fail2ban/tests/config/filter.d/zzz-generic-example.conf | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 120000 fail2ban/tests/config/filter.d/common.conf diff --git a/fail2ban/tests/config/filter.d/common.conf b/fail2ban/tests/config/filter.d/common.conf new file mode 120000 index 00000000..83e92474 --- /dev/null +++ b/fail2ban/tests/config/filter.d/common.conf @@ -0,0 +1 @@ +../../../../config/filter.d/common.conf \ No newline at end of file diff --git a/fail2ban/tests/config/filter.d/zzz-generic-example.conf b/fail2ban/tests/config/filter.d/zzz-generic-example.conf index a59ccb1e..e2ae91b0 100644 --- a/fail2ban/tests/config/filter.d/zzz-generic-example.conf +++ b/fail2ban/tests/config/filter.d/zzz-generic-example.conf @@ -6,8 +6,9 @@ [INCLUDES] # Read common prefixes. If any customizations available -- read them from -# common.local -before = ../../../../config/filter.d/common.conf +# common.local. common.conf is a symlink to the original common.conf and +# should be copied (dereferenced) during installation +before = common.conf [Definition]