diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-08-29 00:27:14 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-08-29 00:27:14 +0200 |
commit | 22d3c280de70895fe5df15d4f57a87be17362a51 (patch) | |
tree | fa7e7c36ffce89fcf5d4f4e609bc76f2417613fb /patches/munin-ds-datalock.patch | |
parent | d6e30533d7730331452c5f61a98c9d1eec486a0b (diff) | |
download | munin-22d3c280de70895fe5df15d4f57a87be17362a51.tar.gz munin-22d3c280de70895fe5df15d4f57a87be17362a51.tar.bz2 munin-22d3c280de70895fe5df15d4f57a87be17362a51.tar.xz munin-22d3c280de70895fe5df15d4f57a87be17362a51.zip |
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)
Diffstat (limited to 'patches/munin-ds-datalock.patch')
-rw-r--r-- | patches/munin-ds-datalock.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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}; |