Your message dated Tue, 11 Mar 2025 07:29:04 +0100 with message-id <[email protected]> and subject line icinga2 issues has caused the Debian Bug report #866000, regarding icinga2: AttachDebugger=true does not find gdb to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 866000: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866000 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: icinga2 Version: 2.6.0-2 Severity: normal Dear Maintainer, After installing icinga2 and gdb, I get this: $ /usr/sbin/icinga2 daemon -D AttachDebugger=true -D RunAsUser=wferi -D RunAsGroup=wferi [2017-06-26 14:51:46 +0200] information/cli: Icinga application loader (version: r2.6.0-1) [2017-06-26 14:51:46 +0200] information/cli: Loading configuration file(s). Could not create directory '/var/log/icinga2/crash': Error 13, Permission denied Failed to launch GDB: No such file or directory Aborted Prefixing the above command with "strace -f -eexecve" reveals that Application::AttachDebugger() in lib/base/application.cpp tries to execute some random rubbish: [pid 29594] execve("/usr/local/bin/\3", ["\3", "\3", "\3", "H\213\214$\230", "\f\355-t@\177", "\207(\255\373", "", "1\322\205\300\17\225\302\367\332\367\3", "8qO&\377\177", "\200\t\333t@\177", "\250\t\333t@\177", "\203\370\377t\25H\203\3048H\211\330[]A\\A]A^A_\303\17\37", "8qO&\377\177", 0xaaa3b1b80ea36a00], [/* 21 vars */]) = -1 ENOENT (No such file or directory) libbase.so.2.6.0 does not even contain the "gdb" string. Code like const char *uargv[] = { "gdb", "-p", my_pid_str, NULL }; argv = const_cast<char **>(uargv); looks unnecessary roundabout, but I'm no C++ expert. Please find and fix what's broken. :) -- Thanks, Feri.
--- End Message ---
--- Begin Message ---tags 824469 wontfix tags 851585 wontfix tags 851991 wontfix tags 865350 wontfix tags 866000 wontfix tags 950167 wontfix thanks These issues are unlikely to ever get addressed. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
--- End Message ---

