Package: autodir
Version: 0.99.9-7.1
Severity: serious
Tags: patch

Dear Maintainer,

Andreas Beckmann <deb...@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
details.

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.

Cheers,

Thomas Goirand (zigo)
diff -Nru autodir-0.99.9/debian/changelog autodir-0.99.9/debian/changelog
--- autodir-0.99.9/debian/changelog	2012-01-18 18:03:38.000000000 +0000
+++ autodir-0.99.9/debian/changelog	2012-10-07 10:16:07.000000000 +0000
@@ -1,3 +1,10 @@
+autodir (0.99.9-7.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Package doesn't ship /var/lock/autodir anymore (Closes: #XXXXXX).
+
+ -- Thomas Goirand <z...@debian.org>  Sun, 07 Oct 2012 10:14:07 +0000
+
 autodir (0.99.9-7.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru autodir-0.99.9/debian/dirs autodir-0.99.9/debian/dirs
--- autodir-0.99.9/debian/dirs	2006-02-20 15:20:39.000000000 +0000
+++ autodir-0.99.9/debian/dirs	2012-10-07 10:15:02.000000000 +0000
@@ -1,3 +1,2 @@
 usr/sbin
 usr/lib/autodir
-var/lock/autodir

Reply via email to