Your message dated Tue, 08 May 2012 09:02:00 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-nagios-devel] Bug#671908:
/var/lib/icinga/spool/checkresults: policy violation
has caused the Debian Bug report #671908,
regarding /var/lib/icinga/spool/checkresults: policy violation
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.)
--
671908: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671908
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: icinga
Version: 1.6.1-2
Severity: important
Hello,
/var/lib/icinga/spool/checkresults is used by icinga for transient
temporary files.
These belong in /run. Or /tmp.
The reason I have a major problem with them is that they tend to mess up
backups, by the time the backup process gets around to them they have
vanished and the backup process reports an error. :-/
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (700, 'testing'), (650, 'unstable'), (600, 'stable'), (550,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages icinga depends on:
ii icinga-cgi 1.6.1-2
ii icinga-core 1.6.1-2
icinga recommends no packages.
Versions of packages icinga suggests:
ii nagios-nrpe-plugin 2.12-5
-- no debconf information
--- End Message ---
--- Begin Message ---
Matthias Urlichs <[email protected]> writes:
> /var/lib/icinga/spool/checkresults is used by icinga for transient
> temporary files.
Yes.
> These belong in /run. Or /tmp.
No.
>From looking at the FHS and the Icinga documentation, it sounds like
/var/spool is indeed the correct place for these.
,----[ fhs ]
| /var/spool : Application spool data
|
| Purpose
|
| /var/spool contains data which is awaiting some kind of later
| processing. Data in /var/spool represents work to be done in the
| future (by a program, user, or administrator); often data is deleted
| after it has been processed. [43]
|
`----
Icinga says:
,----[ icinga docs ]
| Check Result Path
|
| Format:
|
| check_result_path=<path>
|
| Example:
|
| check_result_path=/var/spool/icinga/checkresults
|
| This options determines which directory Icinga will use to temporarily
| store host and service check results before they are processed. This
| directory should not be used to store any other files, as Icinga will
| periodically clean this directory of old file (see the
| max_check_result_file_age option for more information).
|
`----
> The reason I have a major problem with them is that they tend to mess
> up backups, by the time the backup process gets around to them they
> have vanished and the backup process reports an error. :-/
Some backup systems report file system changes while running. You should
not treat this like an error, unless you know you are going to miss the
files not backed up.
As a workaround, may I suggest you exclude this path from your backup
system, if it has problems while backup up a file system which is not
static.
--
Stig Sandbeck Mathisen <[email protected]>
--- End Message ---