[DRE-maint] Bug#689908: 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:22:55 UTC 2012

Package: chef-solr
Version: 10.12.0+dfsg-1
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: chef-solr_10.12.0+dfsg-1.1.debdiff
Type: text/x-diff
Size: 2063 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20121007/894abf1e/attachment.diff>

More information about the Pkg-ruby-extras-maintainers mailing list