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 #865350,
regarding icinga2-ido-mysql: fails to create features-enabled/ido-mysql.conf
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.)


-- 
865350: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865350
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- 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 ---

Reply via email to