Version 2.9.0 of Icinga2 can no longer be started using default settings alone. The following error is displayed if the ICINGA2_STARTUP_LOG variable is not set: # /etc/init.d/icinga2 start /etc/init.d/icinga2: line 41: $ICINGA2_STARTUP_LOG: ambiguous redirect * Icinga2 detected configuration errors. Check '' for details. * ERROR: icinga2 failed to start After setting ICINGA2_STARTUP_LOG, startup fails because ICINGA2_ERROR_LOG is not set, causing a missing argument error for the "-e" option in ICINGA2_DAEMON_ARGS: # /etc/init.d/icinga2 start * Error starting icinga2. '/var/log/icinga2/startup.log' for details. * ERROR: icinga2 failed to start # cat /var/log/icinga2/startup.log [2018-07-18 12:25:16 +0200] critical/icinga-app: Error while parsing command-line options: the required argument for option '--errorlog' is missing * start-stop-daemon: failed to start `/usr/sbin/icinga2'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9179024f51643e2909a6d84049e69f887eabd9f9 commit 9179024f51643e2909a6d84049e69f887eabd9f9 Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2018-07-21 21:24:03 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2018-07-21 21:24:38 +0000 net-analyzer/icinga2: 2.9.0-r1 fix init script Closes: https://bugs.gentoo.org/661490 Package-Manager: Portage-2.3.43, Repoman-2.3.10 net-analyzer/icinga2/files/icinga2.initd-2 | 91 ++++++++++++++++++++++ ...cinga2-2.9.0.ebuild => icinga2-2.9.0-r1.ebuild} | 2 +- net-analyzer/icinga2/icinga2-9999.ebuild | 2 +- 3 files changed, 93 insertions(+), 2 deletions(-)