Your message dated Thu, 27 Jul 2017 09:50:15 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-nagios-devel] Bug#869679: icinga: /var/log/icinga/*
not readable by www-data, preventing history viewing from web frontend
has caused the Debian Bug report #869679,
regarding icinga: /var/log/icinga/* not readable by www-data, preventing
history viewing from web frontend
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.)
--
869679: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869679
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: icinga
Version: 1.13.4-2
Severity: normal
Dear Maintainer,
in the version of icinga in stretch, the icinca log files are created with
permissions 600,
user and group nagios:nagios or nagios:adm. This prevents the web frontend
(which is run as
www-data in case of apache2) from accessing it and displaying history for a
service:
"Log file "/var/log/icinga/icinga.log" invalid! No timestamp found within first
16 bytes!
I have found not way of fixing this via additional group memberships. This was
not the case
in nagios as distributed with the previous release.
Thanks for looking into this,
Christian
-- System Information:
Debian Release: 9.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages icinga depends on:
ii icinga-cgi 1.13.4-2
ii icinga-core 1.13.4-2
Versions of packages icinga recommends:
ii icinga-doc 1.13.4-2
Versions of packages icinga suggests:
ii nagios-nrpe-plugin 3.0.1-3+deb9u1
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Christian,
On 2017-07-27 09:41, Christian wrote:
yes, that seems to be the case. When I manually change the mode to 644,
it keeps that. Maybe it's worth documenting this somewhere... I think
we
can consider this bug closed. Thanks for the hint,
We could add a paragraph in README.Debian, but changing permissions
should be easy enough for any sysadmin.
Running the GUI on the same systems as the icinga daemon which creates
the logfile is not required, so giving the webserver access to the log
file is not strictly required either.
It think it safe to leave this as-is, but if someone provides a
paragraph for README.Debian I'll happily include it.
Kind Regards,
Bas
--- End Message ---