From 22d3c280de70895fe5df15d4f57a87be17362a51 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 29 Aug 2019 00:27:14 +0200 Subject: Move datafile lock into the database folder and keep the rest of run files outside of the volume (since UNIX domain sockets can't be created on GlusterFS) --- patches/munin-ds-datalock.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/munin-ds-datalock.patch (limited to 'patches/munin-ds-datalock.patch') diff --git a/patches/munin-ds-datalock.patch b/patches/munin-ds-datalock.patch new file mode 100644 index 0000000..3ec249b --- /dev/null +++ b/patches/munin-ds-datalock.patch @@ -0,0 +1,11 @@ +--- Munin/Master/Update.pm ++++ Munin-ds/Master/Update.pm +@@ -265,7 +265,7 @@ + sub _write_new_service_configs_locked { + my ($self) = @_; + +- my $lock_file = "$config->{rundir}/munin-datafile.lock"; ++ my $lock_file = "$config->{dbdir}/datafile.lock"; + munin_runlock($lock_file); + + my $config_dump_file = $self->{config_dump_file}; -- cgit v1.2.3