X-Git-Url: https://git.proxmox.com/?p=pve-qemu-kvm.git;a=blobdiff_plain;f=debian%2Fpatches%2Fold%2Fglusterfs-daemonize.patch;fp=debian%2Fpatches%2Fold%2Fglusterfs-daemonize.patch;h=0000000000000000000000000000000000000000;hp=e657dcca42fe65b7fe334bcf048ff7203d67f6a1;hb=e8d0924679a5d7a3acfc128a1140ffdef0269338;hpb=dcfd9c72bc5bb92f7715f7eb52e6610bc629a1c8 diff --git a/debian/patches/old/glusterfs-daemonize.patch b/debian/patches/old/glusterfs-daemonize.patch deleted file mode 100644 index e657dcc..0000000 --- a/debian/patches/old/glusterfs-daemonize.patch +++ /dev/null @@ -1,23 +0,0 @@ -glusterfs: do not log to stdout if daemonized - -Else stdout is not closed correctly. - -Index: new/block/gluster.c -=================================================================== ---- new.orig/block/gluster.c 2014-08-22 13:21:39.000000000 +0200 -+++ new/block/gluster.c 2014-08-22 13:25:18.000000000 +0200 -@@ -196,9 +196,11 @@ - * TODO: Use GF_LOG_ERROR instead of hard code value of 4 here when - * GlusterFS makes GF_LOG_* macros available to libgfapi users. - */ -- ret = glfs_set_logging(glfs, "-", 4); -- if (ret < 0) { -- goto out; -+ if (!is_daemonized()) { -+ ret = glfs_set_logging(glfs, "-", 4); -+ if (ret < 0) { -+ goto out; -+ } - } - - ret = glfs_init(glfs);