[Pkg-nagios-devel] Bug#689901: Ships a folder in /var/run or /var/lock (Policy Manual section 9.3.2)

Thomas Goirand zigo at debian.org
Sun Oct 7 15:12:07 UTC 2012

Package: nagios3
Version: 3.4.1-2
Severity: serious
Tags: patch

Dear Maintainer,

Andreas Beckmann <debian at abeckmann.de> reported in -devel that your package
(as well as 27 others) ships a folder either in /var/run or /var/lock. This
is forbidden by policy.

Lintian detects the problem and warns as follow:

/var/run may be a temporary filesystem, so any directories or files needed
/there must be created dynamically at boot time.

Refer to Debian Policy Manual section 9.3.2 (Writing the scripts) for

Severity: serious, Certainty: possible
Check: files, Type: binary, udeb

which is why I am reporting this bug with severity serious (and there fore,
release critical).

Please fix your package. I have attached what I believe is a good fix the
problem, however, I haven't tried it, and I haven't tested if something more
for creating the necessary folder at runtime should be added. Please make
sure to test before applying the patch blindly.


Thomas Goirand (zigo)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios3_3.4.1-2.1.debdiff
Type: text/x-diff
Size: 2315 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20121007/33157c2d/attachment.diff>

More information about the Pkg-nagios-devel mailing list