View | Details | Raw Unified | Return to bug 266207 | Differences between
and this patch

Collapse All | Expand All

(-)b/databases/foundationdb-devel/Makefile (-18 / +26 lines)
Lines 1-6 Link Here
1
PORTNAME=	foundationdb-devel
1
PORTNAME=	foundationdb-devel
2
DISTVERSION=	7.0.0
2
DISTVERSION=	7.1.23
3
PORTREVISION=	2
4
CATEGORIES=	databases
3
CATEGORIES=	databases
5
4
6
# PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/
5
# PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/
Lines 15-27 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
15
ONLY_FOR_ARCHS=	aarch64 amd64
14
ONLY_FOR_ARCHS=	aarch64 amd64
16
ONLY_FOR_ARCHS_REASON=	not yet ported to anything else
15
ONLY_FOR_ARCHS_REASON=	not yet ported to anything else
17
16
18
BUILD_DEPENDS=	${LOCALBASE}/include/doctest/doctest.h:devel/doctest \
17
BUILD_DEPENDS=	${LOCALBASE}/include/toml.hpp:devel/toml11 \
19
		${LOCALBASE}/include/toml.hpp:devel/toml11 \
20
		bash:shells/bash \
18
		bash:shells/bash \
21
		git:devel/git
19
		git:devel/git
22
20
23
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
21
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
24
		libeio.so:devel/libeio
22
		libeio.so:devel/libeio \
23
		libmsgpackc.so:devel/msgpack-c
25
24
26
USES=		cmake compiler:c++17-lang mono:build python:build shebangfix \
25
USES=		cmake compiler:c++17-lang mono:build python:build shebangfix \
27
		ssl
26
		ssl
Lines 31-38 GH_PROJECT= foundationdb Link Here
31
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
32
USE_RC_SUBR=	foundationdb
31
USE_RC_SUBR=	foundationdb
33
32
34
CONFLICTS_INSTALL=	foundationdb
35
36
SHEBANG_FILES=	bindings/c/generate_asm.py
33
SHEBANG_FILES=	bindings/c/generate_asm.py
37
34
38
CMAKE_ARGS=	-DOPENSSL_ROOT_DIR=${OPENSSLLIB}
35
CMAKE_ARGS=	-DOPENSSL_ROOT_DIR=${OPENSSLLIB}
Lines 40-55 CMAKE_OFF= DISABLE_TLS USE_DTRACE USE_JEMALLOC WITH_CONTRIB WITH_FLOWBENCH Link Here
40
37
41
MAKE_ENV=	MONO_REGISTRY_PATH=/tmp/registry
38
MAKE_ENV=	MONO_REGISTRY_PATH=/tmp/registry
42
39
40
CONFLICTS_INSTALL=	foundationdb
41
42
FOUNDATIONDB_USER?=	foundationdb
43
FOUNDATIONDB_GROUP?=	foundationdb
44
FOUNDATIONDB_ETCDIR?=	${PREFIX}/etc/foundationdb
45
FOUNDATIONDB_DBDIR?=	/var/db/foundationdb
46
FOUNDATIONDB_LOGDIR?=	/var/log/foundationdb
47
48
SUB_FDB=	FOUNDATIONDB_DBDIR=${FOUNDATIONDB_DBDIR} \
49
		FOUNDATIONDB_ETCDIR=${FOUNDATIONDB_ETCDIR} \
50
		FOUNDATIONDB_GROUP=${FOUNDATIONDB_GROUP} \
51
		FOUNDATIONDB_LOGDIR=${FOUNDATIONDB_LOGDIR} \
52
		FOUNDATIONDB_USER=${FOUNDATIONDB_USER}
53
54
SUB_FILES=	foundationdb.conf
55
SUB_LIST=	${SUB_FDB}
56
43
USERS=		foundationdb
57
USERS=		foundationdb
44
GROUPS=		foundationdb
58
GROUPS=		foundationdb
45
DBDIR?=		/var/db/foundationdb
46
LOGDIR?=	/var/log/foundationdb
47
59
48
SUB_FDB=	DB_USER=${USERS} DB_GROUP=${GROUPS} DB_DIR=${DBDIR} \
60
PLIST_SUB=	${SUB_FDB}
49
		LOG_DIR=${LOGDIR}
50
SUB_FILES+=	foundationdb.conf
51
SUB_LIST+=	${SUB_FDB}
52
PLIST_SUB+=	${SUB_FDB}
53
61
54
post-patch:
62
post-patch:
55
		${REINPLACE_CMD} 's/OPENSSL_USE_STATIC_LIBS TRUE/OPENSSL_USE_STATIC_LIBS FALSE/' \
63
		${REINPLACE_CMD} 's/OPENSSL_USE_STATIC_LIBS TRUE/OPENSSL_USE_STATIC_LIBS FALSE/' \
Lines 81-90 do-install: Link Here
81
	${INSTALL_DATA} ${WRKDIR}/.build/bindings/c/foundationdb/fdb_c_options.g.h \
89
	${INSTALL_DATA} ${WRKDIR}/.build/bindings/c/foundationdb/fdb_c_options.g.h \
82
	    ${STAGEDIR}/${PREFIX}/include/foundationdb/
90
	    ${STAGEDIR}/${PREFIX}/include/foundationdb/
83
# runtime related
91
# runtime related
84
	${MKDIR} ${STAGEDIR}${DBDIR} \
92
	${MKDIR} ${STAGEDIR}${FOUNDATIONDB_ETCDIR}
85
	    ${STAGEDIR}${LOGDIR} \
93
	${MKDIR} ${STAGEDIR}${FOUNDATIONDB_DBDIR}
86
	    ${STAGEDIR}${PREFIX}/etc/foundationdb
94
	${MKDIR} ${STAGEDIR}${FOUNDATIONDB_LOGDIR}
87
	${INSTALL_DATA} ${WRKDIR}/foundationdb.conf \
95
	${INSTALL_DATA} ${WRKDIR}/foundationdb.conf \
88
	    ${STAGEDIR}${PREFIX}/etc/foundationdb/foundationdb.conf.sample
96
	    ${STAGEDIR}${FOUNDATIONDB_ETCDIR}/foundationdb.conf.sample
89
97
90
.include <bsd.port.mk>
98
.include <bsd.port.mk>
(-)b/databases/foundationdb-devel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1640764452
1
TIMESTAMP = 1663769560
2
SHA256 (apple-foundationdb-7.0.0_GH0.tar.gz) = 9a5ef672e32b6976b04a20c013b28c4aeeb7d35456afdefbc552707d52bc31ca
2
SHA256 (apple-foundationdb-7.1.23_GH0.tar.gz) = 04094853109520d8d81aa306f87090f90a08c3cc2701b5dc1f2cf3b52e90337b
3
SIZE (apple-foundationdb-7.0.0_GH0.tar.gz) = 10875992
3
SIZE (apple-foundationdb-7.1.23_GH0.tar.gz) = 11651107
(-)b/databases/foundationdb-devel/files/foundationdb.conf.in (-22 / +22 lines)
Lines 5-40 Link Here
5
## https://apple.github.io/foundationdb/configuration.html#the-configuration-file
5
## https://apple.github.io/foundationdb/configuration.html#the-configuration-file
6
6
7
[fdbmonitor]
7
[fdbmonitor]
8
user = %%DB_USER%%
8
user = %%FOUNDATIONDB_USER%%
9
group = %%DB_GROUP%%
9
group = %%FOUNDATIONDB_GROUP%%
10
10
11
[general]
11
[general]
12
restart_delay = 60
12
restart-delay = 60
13
## by default, restart_backoff = restart_delay_reset_interval = restart_delay
13
## by default, restart-backoff = restart-delay-reset-interval = restart-delay
14
# initial_restart_delay = 0
14
# initial-restart-delay = 0
15
# restart_backoff = 60
15
# restart-backoff = 60
16
# restart_delay_reset_interval = 60
16
# restart-delay-reset-interval = 60
17
cluster_file = %%PREFIX%%/etc/foundationdb/fdb.cluster
17
cluster-file = %%FOUNDATIONDB_ETCDIR%%/fdb.cluster
18
# delete_envvars =
18
# delete-envvars =
19
# kill_on_configuration_change = true
19
# kill-on-configuration-change = true
20
20
21
## Default parameters for individual fdbserver processes
21
## Default parameters for individual fdbserver processes
22
[fdbserver]
22
[fdbserver]
23
command = %%PREFIX%%/bin/fdbserver
23
command = %%PREFIX%%/bin/fdbserver
24
public_address = auto:$ID
24
public-address = auto:$ID
25
listen_address = public
25
listen-address = public
26
datadir = %%DB_DIR%%/data/$ID
26
datadir = %%FOUNDATIONDB_DBDIR%%/data/$ID
27
logdir = %%LOG_DIR%%
27
logdir = %%FOUNDATIONDB_LOGDIR%%
28
# logsize = 10MiB
28
# logsize = 10MiB
29
# maxlogssize = 100MiB
29
# maxlogssize = 100MiB
30
# machine_id =
30
# machine-id =
31
# datacenter_id =
31
# datacenter-id =
32
# class =
32
# class = 
33
# memory = 8GiB
33
# memory = 8GiB
34
# storage_memory = 1GiB
34
# storage-memory = 1GiB
35
# cache_memory = 2GiB
35
# cache-memory = 2GiB
36
# metrics_cluster =
36
# metrics-cluster =
37
# metrics_prefix =
37
# metrics-prefix =
38
38
39
## An individual fdbserver process with id 4500
39
## An individual fdbserver process with id 4500
40
## Parameters set here override defaults from the [fdbserver] section
40
## Parameters set here override defaults from the [fdbserver] section
Lines 42-47 logdir = %%LOG_DIR%% Link Here
42
42
43
[backup_agent]
43
[backup_agent]
44
command = %%PREFIX%%/bin/backup_agent
44
command = %%PREFIX%%/bin/backup_agent
45
logdir = %%LOG_DIR%%
45
logdir = %%FOUNDATIONDB_LOGDIR%%
46
46
47
[backup_agent.1]
47
[backup_agent.1]
(-)b/databases/foundationdb-devel/files/foundationdb.in (-3 / +15 lines)
Lines 18-30 Link Here
18
18
19
name="foundationdb"
19
name="foundationdb"
20
rcvar="${name}_enable"
20
rcvar="${name}_enable"
21
foundationdb_enable=${foundationdb_enable:-"NO"}
22
command=%%PREFIX%%/bin/fdbmonitor
23
pidfile="/var/run/fdbmonitor.pid"
24
21
25
load_rc_config "$name"
22
load_rc_config "$name"
23
26
: ${foundationdb_enable="NO"}
24
: ${foundationdb_enable="NO"}
25
: ${foundationdb_user="%%FOUNDATIONDB_USER%%"}
26
: ${foundationdb_group="%%FOUNDATIONDB_GROUP%%"}
27
: ${foundationdb_config="%%PREFIX%%/etc/foundationdb/foundationdb.conf"}
27
: ${foundationdb_config="%%PREFIX%%/etc/foundationdb/foundationdb.conf"}
28
28
29
start_precmd="foundationdb_start_precmd"
30
31
pidfile="/var/run/fdbmonitor.pid"
32
command=%%PREFIX%%/bin/fdbmonitor
29
command_args="--conffile ${foundationdb_config} --lockfile ${pidfile} --daemonize"
33
command_args="--conffile ${foundationdb_config} --lockfile ${pidfile} --daemonize"
34
35
foundationdb_start_precmd()
36
{
37
	if [ ! -e "${pidfile}" ]; then
38
		install -m 0600 -o "${foundationdb_user}" -g "${foundationdb_group}" /dev/null "${pidfile}"
39
	fi
40
}
41
30
run_rc_command $1
42
run_rc_command $1
(-)b/databases/foundationdb-devel/files/patch-bindings_c_CMakeLists.txt (-2 / +2 lines)
Lines 1-6 Link Here
1
--- bindings/c/CMakeLists.txt.orig	2021-12-29 13:15:46 UTC
1
--- bindings/c/CMakeLists.txt.orig
2
+++ bindings/c/CMakeLists.txt
2
+++ bindings/c/CMakeLists.txt
3
@@ -65,7 +65,7 @@ if(WIN32)
3
@@ -78,7 +78,7 @@
4
 endif()
4
 endif()
5
 
5
 
6
 # The tests don't build on windows
6
 # The tests don't build on windows
(-)a/databases/foundationdb-devel/files/patch-bindings_c_test_unit_third__party_CMakeLists.txt (-22 lines)
Removed Link Here
1
--- bindings/c/test/unit/third_party/CMakeLists.txt.orig	2021-12-07 03:03:34 UTC
2
+++ bindings/c/test/unit/third_party/CMakeLists.txt
3
@@ -1,18 +1 @@
4
-# Download doctest repo.
5
-include(ExternalProject)
6
-find_package(Git REQUIRED)
7
-
8
-ExternalProject_Add(
9
-    doctest
10
-    PREFIX ${CMAKE_BINARY_DIR}/doctest
11
-    GIT_REPOSITORY https://github.com/onqtam/doctest.git
12
-    GIT_TAG 1c8da00c978c19e00a434b2b1f854fcffc9fba35 # v2.4.0
13
-    TIMEOUT 10
14
-    CONFIGURE_COMMAND ""
15
-    BUILD_COMMAND ""
16
-    INSTALL_COMMAND ""
17
-    LOG_DOWNLOAD ON
18
-)
19
-
20
-ExternalProject_Get_Property(doctest source_dir)
21
-set(DOCTEST_INCLUDE_DIR ${source_dir}/doctest CACHE INTERNAL "Path to include folder for doctest")
22
+set(DOCTEST_INCLUDE_DIR %%LOCALBASE%%/include/doctest CACHE INTERNAL "Path to include folder for doctest")
(-)b/databases/foundationdb-devel/files/patch-cmake_CompileBoost.cmake (-4 / +4 lines)
Lines 1-11 Link Here
1
--- cmake/CompileBoost.cmake.orig	2022-04-19 01:08:48 UTC
1
--- cmake/CompileBoost.cmake.orig
2
+++ cmake/CompileBoost.cmake
2
+++ cmake/CompileBoost.cmake
3
@@ -113,7 +113,7 @@ endif()
3
@@ -113,7 +113,7 @@
4
   return()
4
   return()
5
 endif()
5
 endif()
6
 
6
 
7
-find_package(Boost 1.72.0 EXACT QUIET COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS})
7
-find_package(Boost 1.78.0 EXACT QUIET COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS})
8
+find_package(Boost 1.72.0 COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS})
8
+find_package(Boost 1.78.0 COMPONENTS context CONFIG PATHS ${BOOST_HINT_PATHS})
9
 set(FORCE_BOOST_BUILD OFF CACHE BOOL "Forces cmake to build boost and ignores any installed boost")
9
 set(FORCE_BOOST_BUILD OFF CACHE BOOL "Forces cmake to build boost and ignores any installed boost")
10
 
10
 
11
 if(Boost_FOUND AND NOT FORCE_BOOST_BUILD)
11
 if(Boost_FOUND AND NOT FORCE_BOOST_BUILD)
(-)b/databases/foundationdb-devel/files/patch-cmake_FDBComponents.cmake (-8 / +8 lines)
Lines 1-15 Link Here
1
--- cmake/FDBComponents.cmake.orig	2021-12-07 03:03:34 UTC
1
--- cmake/FDBComponents.cmake.orig
2
+++ cmake/FDBComponents.cmake
2
+++ cmake/FDBComponents.cmake
3
@@ -24,7 +24,7 @@ set(DISABLE_TLS OFF CACHE BOOL "Don't try to find Open
3
@@ -24,7 +24,7 @@
4
 if(DISABLE_TLS)
4
 if(DISABLE_TLS)
5
   set(WITH_TLS OFF)
5
   set(WITH_TLS OFF)
6
 else()
6
 else()
7
-  set(OPENSSL_USE_STATIC_LIBS TRUE)
7
-  set(OPENSSL_USE_STATIC_LIBS TRUE)
8
+  set(OPENSSL_USE_STATIC_LIBS FALSE)
8
+  set(OPENSSL_USE_STATIC_LIBS FALSE)
9
   find_package(OpenSSL)
9
   if(WIN32)
10
   if(OPENSSL_FOUND)
10
     set(OPENSSL_MSVC_STATIC_RT ON)
11
     set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
11
   endif()
12
@@ -203,6 +203,13 @@ else()
12
@@ -198,6 +198,13 @@
13
 endif()
13
 endif()
14
 
14
 
15
 ################################################################################
15
 ################################################################################
Lines 23-34 Link Here
23
 # Coroutine implementation
23
 # Coroutine implementation
24
 ################################################################################
24
 ################################################################################
25
 
25
 
26
@@ -236,6 +243,8 @@ function(print_components)
26
@@ -242,6 +249,8 @@
27
   message(STATUS "Build Documentation (make html):      ${WITH_DOCUMENTATION}")
27
   message(STATUS "Build Documentation (make html):      ${WITH_DOCUMENTATION}")
28
   message(STATUS "Build Python sdist (make package):    ${WITH_PYTHON_BINDING}")
28
   message(STATUS "Build Python sdist (make package):    ${WITH_PYTHON_BINDING}")
29
   message(STATUS "Configure CTest (depends on Python):  ${WITH_PYTHON}")
29
   message(STATUS "Configure CTest (depends on Python):  ${WITH_PYTHON}")
30
+  message(STATUS "Build contrib:                        ${WITH_CONTRIB}")
30
+  message(STATUS "Build contrib:                        ${WITH_CONTRIB}")
31
+  message(STATUS "Build with FlowBench:                 ${WITH_FLOWBENCH}")
31
+  message(STATUS "Build with FlowBench:                 ${WITH_FLOWBENCH}")
32
   message(STATUS "Build with RocksDB:                   ${WITH_ROCKSDB_EXPERIMENTAL}")
32
   message(STATUS "Build with RocksDB:                   ${WITH_ROCKSDB_EXPERIMENTAL}")
33
   message(STATUS "Build with AWS SDK:                   ${WITH_AWS_BACKUP}")
33
   message(STATUS "=========================================")
34
   message(STATUS "=========================================")
34
 endfunction()
(-)b/databases/foundationdb-devel/files/patch-fdbmonitor_CMakeLists.txt (+11 lines)
Added Link Here
1
--- fdbmonitor/CMakeLists.txt.orig
2
+++ fdbmonitor/CMakeLists.txt
3
@@ -56,8 +56,3 @@
4
   configure_file(${CMAKE_SOURCE_DIR}/contrib/generate_profile.sh
5
     ${CMAKE_BINARY_DIR}/contrib/generate_profile.sh)
6
 endif()
7
-
8
-add_custom_target(generate_profile
9
-  COMMAND  ${CMAKE_BINARY_DIR}/contrib/generate_profile.sh ${CMAKE_BINARY_DIR})
10
-
11
-add_dependencies(generate_profile fdbmonitor fdbserver mako fdbcli)
(-)b/databases/foundationdb-devel/files/patch-fdbmonitor_fdbmonitor.cpp (+43 lines)
Added Link Here
1
--- fdbmonitor/fdbmonitor.cpp.orig
2
+++ fdbmonitor/fdbmonitor.cpp
3
@@ -27,6 +27,8 @@
4
 
5
 #ifdef __linux__
6
 #include <sys/prctl.h>
7
+#elif defined(__FreeBSD__)
8
+#include <sys/procctl.h>
9
 #endif
10
 
11
 #include <sys/wait.h>
12
@@ -751,6 +753,10 @@ void start_process(Command* cmd, ProcessID id, uid_t uid, gid_t gid, int delay,
13
 		signal(SIGHUP, SIG_DFL);
14
 		signal(SIGINT, SIG_DFL);
15
 		signal(SIGTERM, SIG_DFL);
16
+#ifdef __linux__
17
+		signal(SIGCHLD, SIG_DFL);
18
+#endif
19
+		sigprocmask(SIG_SETMASK, mask, nullptr);
20
 
21
 		/* All output in this block should be to stdout (for SevInfo messages) or stderr (for SevError messages) */
22
 		/* Using log_msg() or log_err() from the child will cause the logs to be written incorrectly */
23
@@ -780,14 +786,16 @@ void start_process(Command* cmd, ProcessID id, uid_t uid, gid_t gid, int delay,
24
 		}
25
 
26
 #ifdef __linux__
27
-		signal(SIGCHLD, SIG_DFL);
28
-
29
-		sigprocmask(SIG_SETMASK, mask, nullptr);
30
-
31
 		/* death of our parent raises SIGHUP */
32
 		prctl(PR_SET_PDEATHSIG, SIGHUP);
33
 		if (getppid() == 1) /* parent already died before prctl */
34
 			exit(0);
35
+#elif defined(__FreeBSD__)
36
+		/* death of our parent raises SIGHUP */
37
+		const int sig = SIGHUP;
38
+		procctl(P_PID, 0, PROC_PDEATHSIG_CTL, (void*)&sig);
39
+		if (getppid() == 1) /* parent already died before procctl */
40
+			exit(0);
41
 #endif
42
 
43
 		if (delay)
(-)b/databases/foundationdb-devel/files/patch-fdbserver_FDBExecHelper.actor.cpp (+32 lines)
Added Link Here
1
--- fdbserver/FDBExecHelper.actor.cpp.orig
2
+++ fdbserver/FDBExecHelper.actor.cpp
3
@@ -18,6 +18,14 @@
4
  * limitations under the License.
5
  */
6
 
7
+#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__INTEL_COMPILER)
8
+#define BOOST_SYSTEM_NO_LIB
9
+#define BOOST_DATE_TIME_NO_LIB
10
+#define BOOST_REGEX_NO_LIB
11
+#include <boost/process.hpp>
12
+#endif
13
+#include <boost/algorithm/string.hpp>
14
+
15
 #include "flow/TLSConfig.actor.h"
16
 #include "flow/Trace.h"
17
 #include "flow/Platform.h"
18
@@ -33,14 +41,6 @@
19
 #include "fdbserver/FDBExecHelper.actor.h"
20
 #include "fdbserver/Knobs.h"
21
 #include "fdbserver/RemoteIKeyValueStore.actor.h"
22
-
23
-#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__INTEL_COMPILER)
24
-#define BOOST_SYSTEM_NO_LIB
25
-#define BOOST_DATE_TIME_NO_LIB
26
-#define BOOST_REGEX_NO_LIB
27
-#include <boost/process.hpp>
28
-#endif
29
-#include <boost/algorithm/string.hpp>
30
 
31
 #include "flow/actorcompiler.h" // This must be the last #include.
32
 
(-)b/databases/foundationdb-devel/files/patch-fdbserver_fdbserver.actor.cpp (+30 lines)
Added Link Here
1
--- fdbserver/fdbserver.actor.cpp.orig
2
+++ fdbserver/fdbserver.actor.cpp
3
@@ -84,7 +84,11 @@
4
 #if defined(__linux__) || defined(__FreeBSD__)
5
 #include <execinfo.h>
6
 #include <signal.h>
7
+#if defined(__linux__)
8
 #include <sys/prctl.h>
9
+#elif defined(__FreeBSD__)
10
+#include <sys/procctl.h>
11
+#endif
12
 #ifdef ALLOC_INSTRUMENTATION
13
 #include <cxxabi.h>
14
 #endif
15
@@ -2225,9 +2229,14 @@
16
 			f = result;
17
 		} else if (role == ServerRole::FlowProcess) {
18
 			TraceEvent(SevDebug, "StartingFlowProcess").detail("From", "fdbserver");
19
-#if defined(__linux__) || defined(__FreeBSD__)
20
+#if defined(__linux__)
21
 			prctl(PR_SET_PDEATHSIG, SIGTERM);
22
 			if (getppid() == 1) /* parent already died before prctl */
23
+				flushAndExit(FDB_EXIT_SUCCESS);
24
+#elif defined(__FreeBSD__)
25
+			const int sig = SIGTERM;
26
+			procctl(P_PID, 0, PROC_PDEATHSIG_CTL, (void*)&sig);
27
+			if (getppid() == 1) /* parent already died before procctl */
28
 				flushAndExit(FDB_EXIT_SUCCESS);
29
 #endif
30
 
(-)b/databases/foundationdb-devel/pkg-plist (-3 / +4 lines)
Lines 1-6 Link Here
1
@dir(%%DB_USER%%,%%DB_GROUP%%,) %%DB_DIR%%
1
@dir(%%FOUNDATIONDB_USER%%,%%FOUNDATIONDB_GROUP%%,755) %%FOUNDATIONDB_ETCDIR%%
2
@dir(%%DB_USER%%,%%DB_GROUP%%,) %%LOG_DIR%%
2
@dir(%%FOUNDATIONDB_USER%%,%%FOUNDATIONDB_GROUP%%,755) %%FOUNDATIONDB_DBDIR%%
3
@sample etc/foundationdb/foundationdb.conf.sample
3
@dir(%%FOUNDATIONDB_USER%%,%%FOUNDATIONDB_GROUP%%,755) %%FOUNDATIONDB_LOGDIR%%
4
@sample %%FOUNDATIONDB_ETCDIR%%/foundationdb.conf.sample
4
bin/actor_flamegraph
5
bin/actor_flamegraph
5
bin/backup_agent
6
bin/backup_agent
6
bin/dr_agent
7
bin/dr_agent

Return to bug 266207