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

[SCM] Debian package checker branch, master, updated. 2.2.17-34-g5649639



The following commit has been merged in the master branch:
commit 564963901e3d5234e83c26587f0e4cbebe8b0266
Author: Russ Allbery <rra@debian.org>
Date:   Thu Nov 12 15:58:53 2009 -0800

    Suggest mkfifo when creating a named pipe
    
    * checks/scripts.desc:
      + [RA] Suggest mkfifo in mknod-in-maintainer-script if the script was
        creating a named pipe.

diff --git a/checks/scripts.desc b/checks/scripts.desc
index d604315..be80188 100644
--- a/checks/scripts.desc
+++ b/checks/scripts.desc
@@ -351,7 +351,10 @@ Severity: serious
 Certainty: certain
 Ref: policy 10.6
 Info: Maintainer scripts must not create device files directly.  They
- should call MAKEDEV instead.
+ should call <tt>MAKEDEV</tt> instead.
+ .
+ If <tt>mknod</tt> is being used to create a FIFO (named pipe), use
+ <tt>mkfifo</tt> instead to avoid triggering this tag.
 
 Tag: start-stop-daemon-in-maintainer-script
 Severity: normal
diff --git a/debian/changelog b/debian/changelog
index f3d61e1..734f2c5 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -72,6 +72,8 @@ lintian (2.2.18) UNRELEASED; urgency=low
   * checks/scripts.desc:
     + [RA] Add some more details to executable-not-elf-or-script about
       possible causes and how to correct them.
+    + [RA] Suggest mkfifo in mknod-in-maintainer-script if the script was
+      creating a named pipe.
   * checks/shared-libs:
     + [FL] Add /usr/lib/python*/dist-packages to exception list for
       incorrect-libdir-in-la-file.  Thanks, Mathieu Trudel.

-- 
Debian package checker


Reply to: