Package: icinga2-ido-mysql Version: 2.6.3-1 Severity: normal Dear Maintainer,
postinst is clearly trying to set ido-mysql to be enabled in icinga2, if the user selects "yes" when asked whether to enable it, at install time. (If they do not, it tries to disable it). This doesn't seem to work for me, even after purging both icinga2-ido-mysql and icinga2-common, removing /etc/icinga2, and trying again. dbconfig creates the database ok, but the code to enable the feature doesn't seem to be reached: dbconfig-common: flushing administrative password [master 163fc8f] committing changes in /etc after apt run Author: alan-sysop <alan-sysop@stretch> 2 files changed, 17 insertions(+) create mode 100644 icinga2/features-available/ido-mysql.conf Scanning processes... (The subsequent lines are from hooks installed by etckeeper and needrestart). There's supposed to be lines there saying ido-mysql is either being enabled, *or disabled*, *and* then icinga2 is being reloaded. I also notice even though I selected "yes", that's not what is recorded in debconf. debconf-show icinga2-ido-mysql shows that icinga2-ido-mysql/enable is "false". (It is marked as "*" for "seen" though). If I run dpkg-reconfigure, the prompt to enable IDO has the correct effect (regardless of whether I recreate the database or not). Sidenote: there's a minor problem when I purged the packages, they seem to use the wrong order. Maybe it needs a special kind of dependency?? This is why I had to rmdir the features-available and icinga2 directories. Purging configuration files for icinga2-common (2.6.0-2) ... dpkg: warning: while removing icinga2-common, directory '/etc/icinga2/features-available' not empty so not removed Purging configuration files for icinga2-ido-mysql (2.6.0-2) ... -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.11.5-200.fc25.x86_64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages icinga2-ido-mysql depends on: ii dbconfig-common 2.0.8 ii debconf [debconf-2.0] 1.5.61 ii icinga2-bin 2.6.3-1 ii icinga2-common 2.6.3-1 ii libboost-atomic1.62.0 1.62.0+dfsg-4 ii libboost-chrono1.62.0 1.62.0+dfsg-4 ii libboost-date-time1.62.0 1.62.0+dfsg-4 ii libboost-program-options1.62.0 1.62.0+dfsg-4 ii libboost-regex1.62.0 1.62.0+dfsg-4 ii libboost-system1.62.0 1.62.0+dfsg-4 ii libboost-thread1.62.0 1.62.0+dfsg-4 ii libc6 2.24-11 ii libgcc1 1:6.3.0-18 ii libicinga2 2.6.3-1 ii libmariadbclient18 10.1.24-3 ii libssl1.1 1.1.0f-3 ii libstdc++6 6.3.0-18 ii libyajl2 2.1.0-2+b3 ii ucf 3.0036 Versions of packages icinga2-ido-mysql recommends: ii mariadb-client-10.1 [virtual-mysql-client] 10.1.23-9+deb9u1 Versions of packages icinga2-ido-mysql suggests: pn default-mysql-server | mysql-server <none> Also installed: ii mariadb-server-10.1 10.1.23-9+deb9u1

