From c0dc4ec7d6392e199c3acbb0f5dc0f1cd2b5e1ff Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 23 Nov 2015 14:37:49 +0100 Subject: [PATCH] Fix wrong icinga2 binary in development docs fixes #10710 --- doc/21-development.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/21-development.md b/doc/21-development.md index 043948b28..906c1c135 100644 --- a/doc/21-development.md +++ b/doc/21-development.md @@ -116,10 +116,11 @@ the duplicate import in your `~/.gdbinit` file. ### GDB Run -Call GDB with the binary and all arguments and run it in foreground. +Call GDB with the binary (`/usr/sbin/icinga2` is a wrapper script calling +`/usr/lib64/icinga2/sbin/icinga2` since 2.4) and all arguments and run it in foreground. If VFork causes trouble disable it inside the gdb run. - # gdb --args /usr/sbin/icinga2 daemon -x debug -DUseVfork=0 + # gdb --args /usr/lib64/icinga2/sbin/icinga2 daemon -x debug -DUseVfork=0 > **Note** >