[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.0-rc2-9-g8779248



The following commit has been merged in the master branch:
commit 8779248ac0a35101b356809e0358772ea4cc9998
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Apr 8 15:51:24 2011 +0200

    Added dir-or-file-in-run to nag about stuff in /run

diff --git a/checks/files b/checks/files
index a6bc4c5..adcc0af 100644
--- a/checks/files
+++ b/checks/files
@@ -620,6 +620,9 @@ foreach my $file (@{$info->sorted_index}) {
     elsif ($type ne 'udeb' and $file =~ m,^var/run/.,) {
 	tag 'dir-or-file-in-var-run', $file;
     }
+    elsif ($type ne 'udeb' and $file =~ m,^run/.,o) {
+	tag 'dir-or-file-in-run', $file;
+    }
     # ---------------- /var/www
     # Packages are allowed to create /var/www since it's historically been the
     # default document root, but they shouldn't be installing stuff under that
diff --git a/checks/files.desc b/checks/files.desc
index d434336..efb4d06 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -418,6 +418,13 @@ Info: <tt>/var/run</tt> may be a temporary filesystem, so any directories
  or files needed there must be created dynamically at boot time.
 Ref: policy 9.3.2
 
+Tag: dir-or-file-in-run
+Severity: serious
+Certainty: possible
+Info: <tt>/run</tt> may be a temporary filesystem, so any directories
+ or files needed there must be created dynamically at boot time.
+Ref: policy 9.3.2
+
 Tag: dir-or-file-in-var-www
 Severity: serious
 Certainty: possible
diff --git a/debian/changelog b/debian/changelog
index 425807c..9fdc167 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
 lintian (2.5.0~rc3) UNRELEASED; urgency=low
 
+  * Summary of tag changes:
+    + Added:
+      - dir-or-file-in-run
+
   * checks/binaries:
     + [NT] Accepted patch from Loïc Minier to support the armhf
       architecture.  (Closes: #618587)
+  * checks/files{,.desc}:
+    + [NT] Added dir-or-file-in-run tag.
 
   * data/fields/architectures:
     + [NT] Updated to include armhf.

-- 
Debian package checker


Reply to: