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

Bug#148548: marked as done ([FP: checks/scripts] mknod-in-maintainer-script (WS script parsing))

Your message dated Mon, 15 Mar 2004 18:47:06 -0500
with message-id <E1B31nW-0007Or-00@newraff.debian.org>
and subject line Bug#148548: fixed in lintian 1.22.12
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 30 May 2002 09:54:19 +0000
>From russell@coker.com.au Thu May 30 04:54:19 2002
Return-path: <russell@coker.com.au>
Received: from tsv.sws.net.au [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17DMdO-00080Q-00; Thu, 30 May 2002 04:54:18 -0500
Received: from lyta.coker.com.au (localhost [])
	by tsv.sws.net.au (Postfix) with ESMTP
	id 1A18E92460; Thu, 30 May 2002 19:54:15 +1000 (EST)
Received: by lyta.coker.com.au (Postfix, from userid 1001)
	id AA1343407; Thu, 30 May 2002 11:54:07 +0200 (CEST)
From: russell@coker.com.au
Subject: lintian: Gives false alarms about mknod-in-maintainer-script
To: submit@bugs.debian.org
X-Mailer: bug
Message-Id: <20020530095407.AA1343407@lyta.coker.com.au>
Date: Thu, 30 May 2002 11:54:07 +0200 (CEST)
Delivered-To: submit@bugs.debian.org

Package: lintian
Version: 1.20.17
Severity: normal

Here are the errors reported:
W: libselinux-dev: mknod-in-maintainer-script postrm:5
W: libselinux-dev: mknod-in-maintainer-script preinst:4

Here is the preinst:
#!/bin/sh -e

for file in accept.2 connect.2 execve.2 fstat.2 fstatfs.2 getpeername.2 \
  getsockname.2 listen.2 lstat.2 mkdir.2 mknod.2 msgget.2 msgop.2 msgrcv.2 \
  msgsnd.2 open.2 recv.2 recvfrom.2 recvmsg.2 semget.2 send.2 sendmsg.2 \
  sendto.2 shmget.2 socket.2 stat.2 statfs.2 ; do

  dpkg-divert --package libselinux-dev --add --rename --divert $full.non-se $full



Here is the postrm:
#!/bin/sh -e

if [ "$1" = "remove" ]; then
  for file in accept.2 connect.2 execve.2 fstat.2 fstatfs.2 getpeername.2 \
    getsockname.2 listen.2 lstat.2 mkdir.2 mknod.2 msgget.2 msgop.2 msgrcv.2 \
    msgsnd.2 open.2 recv.2 recvfrom.2 recvmsg.2 semget.2 send.2 sendmsg.2 \
    sendto.2 shmget.2 socket.2 stat.2 statfs.2 ; do

    dpkg-divert --package libselinux-dev --remove --rename --divert $full.non-se $full



-- System Information
Debian Release: 3.0
Kernel Version: Linux lyta 2.4.18lsm #1 Wed May 22 14:20:37 CEST 2002 i686 unknown

Versions of the packages lintian depends on:
ii  binutils  The GNU assembler, linker and binary utiliti
ii  diffstat       1.28-1         produces graph of changes introduced by a di
ii  file           3.37-3.1       Determines file type using "magic" numbers
ii  perl           5.6.1-7        Larry Wall's Practical Extraction and Report
ii  perl           5.6.1-7        Larry Wall's Practical Extraction and Report
	^^^ (Provides virtual package perl5)

Received: (at 148548-close) by bugs.debian.org; 15 Mar 2004 23:53:13 +0000
>From katie@ftp-master.debian.org Mon Mar 15 15:53:13 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B31tR-0006OU-00; Mon, 15 Mar 2004 15:53:13 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1B31nW-0007Or-00; Mon, 15 Mar 2004 18:47:06 -0500
From: Frank Lichtenheld <djpig@debian.org>
To: 148548-close@bugs.debian.org
X-Katie: $Revision: 1.45 $
Subject: Bug#148548: fixed in lintian 1.22.12
Message-Id: <E1B31nW-0007Or-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 15 Mar 2004 18:47:06 -0500
Delivered-To: 148548-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_12

Source: lintian
Source-Version: 1.22.12

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:

  to pool/main/l/lintian/lintian_1.22.12.dsc
  to pool/main/l/lintian/lintian_1.22.12.tar.gz
  to pool/main/l/lintian/lintian_1.22.12_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 148548@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Frank Lichtenheld <djpig@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon,  8 Mar 2004 00:46:15 +0100
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.22.12
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
 lintian    - Debian package checker
Closes: 118080 148548 161820 175318 185035 188245 192037 192278 192300 193293 198615 199898 200280 202950 203373 212811 214231 215125 215235 216536 218543 229460 232849 233740 234379 234545 234608
 lintian (1.22.12) unstable; urgency=low
   The ``Fix those false positives, mkay'' release, prepared for all Debian
   Maintainers by Frank Lichtenheld and Jeroen van Wolffelaar.
   Best served cold.
   * debian/control:
     + [FL] Make Uploaders a single line field. It didn't really
       break, but at least DDPO had its difficulties
   * man/lintian.1:
     + [FL] sync man page with the --help output by adding missing options
       Based on a patch by Robert Lemmen. (Closes: #198615)
     + [FL] sync man page with the current list of checks and collection
   * checks/binaries:
     + [FL] Don't complain about non-stripped kernel modules.
       Patch by Dagfinn Ilmari Mannsaker (Closes: #203373)
     + [JvW] Exclude binaries and packages named *-static from the
       binary-is-static test. Exception for sash removed. (Closes: #215235)
   * checks/changelog-file:
     + [FL] Check that encoding of changelog file is UTF-8, based on a patch by
       Denis Barbier (Closes: #175318)
   * checks/copyright-file{,.desc}:
     + [FL] Don't advise to point to the perl packages' copyright file.
       Thanks to Martin Orr for pointing this out. (Closes: #193293)
     + [FL] Fixed false positives of
       copyright-should-refer-to-common-license-file-for-gpl due to
       the GFDL. Thanks to Ross Burton for reporting this. (Closes: #192278)
   * checks/deb-format{,.desc}:
     + [JvW] Fix perl variable-name clash causing unusually formatted error
       output (only important if you do automatic processing on it)
     + [FL] The current script is by Denis Barbier, correcting author in
       .desc file
   * checks/debhelper.desc:
     + [FL] correct reference to debhelper manpage. It's debhelper(7), not
       debhelper(1). Thanks to Brian Nelson for pointing this out
       (Closes: #188245)
   * checks/debconf:
     + [JvW] Update valid types, since currently 'title' is supported now too
       (Closes: #234379, #234608)
   * checks/description:
     + [FL] fix description-is-dh_make-template check. (Closes: #215125)
       Fix suggested by Josip Rodin
   * checks/etcfiles.desc:
     + [FL] correcting abbrevation of etcfiles to 'etc', was 'ini' which
       is already used by init.d
   * checks/fields:
     + [FL] Really check only "real" dependency fields for needlessy
       depends (Closes: #185035)
     + [JvW] Don't consider depending on coreutils bad, as this is in a way a
       versioned depend (Closes: #216536)
     + [FL] Remove the build-depends-without-arch-dep check. It produces
       way too much false positives and can only be replaced by
       a sophisticated debian/rules parser
       (Closes: #192037, #202950, #214231)
     + [JvW] Test syntax of Uploaders: too
     + [JvW] Accept more whitespace in relations, which is allowed according to
       policy, thanks Adrian Bunk for noticing, FL for patch (Closes: #200280)
   * checks/filenames:
     + [JvW] Revised the symlink detection stuff, it is now more rigorous, and
       has seperate warning for recursive symlinks that are otherwise not
       necessarily wrong (Closes: #118080)
   * checks/files:
     + [FL] only issue package-installs-nonbinary-perl-in-usr-lib-perl5 if
       there is no binary perl file at all in the package, since this
       reflects the way the Installer module behaves (Closes: #199898)
   * checks/huge-usr-share:
     + [JvW] Check for a big /usr/share (currently 1-2MB will trigger it) in
       arch-dependent packages. Currently just I:. Thanks Steve McIntyre for
       the idea. (Closes: #232849)
   * checks/menus{,.desc}:
     + [FL] Remove non-exectuable-in-etc-menu-methods as it doesn't
       reflects the current menu manual (Closes: #229460)
   * checks/po-debconf:
     + [JvW] Check whether files listed in debian/po/POTFILES.in actually
       exist, and only positively detect po-debconf usage if dependency is
       there. (Patch by Denis Barbier <barbier@debian.org>, only minimally
   * checks/scripts:
     + [FL] Fix check for "exec ..." line. Fix suggested by Josip Rodin.
       (Closes: #212811)
     + [JvW] Tighten up mknod, dpkg --print-architecture and killall detection
       in maintainer scripts, would need rewrite to be really sane.
       (Closes: #148548, #161820, #192300)
   * checks/shared-libs:
     + [FL] Be more tolerant to variations when checking for
       postrm-unsafe-ldconfig. Thanks to Martin Godisch, Steinar H. Gunderson
       and Aidas Kasparas for their input. (Closes: #218543, #233740)
   * unpack/unpack-binpkg-l1:
     + [FL] tar uses now h to signal hardlinks which breaks a lot of our code.
       so sed'ing it away. Many many thanks to Theodore Y. Ts'o for bringing
       this to our attention (Closes: #234545)
 1522f8f7ab4076d401c2b401be5ebfb5 748 devel optional lintian_1.22.12.dsc
 068ef96f80621fa46f43d3482457b8e8 235669 devel optional lintian_1.22.12.tar.gz
 f17c67284eaa9daf7daf8982362152fa 191748 devel optional lintian_1.22.12_all.deb

Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer


Reply to: