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

Bug#292981: marked as done (lintian postinst and prerm are #!/bin/sh scripts but use command -v)



Your message dated Mon, 20 Jun 2005 20:02:28 -0400
with message-id <E1DkWDk-0008QL-00@newraff.debian.org>
and subject line Bug#292981: fixed in lintian 1.23.9
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; 31 Jan 2005 15:05:36 +0000
>From jdthood@aglu.demon.nl Mon Jan 31 07:05:35 2005
Return-path: <jdthood@aglu.demon.nl>
Received: from mailservice.tudelft.nl [130.161.131.5] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cvd7P-0001MX-00; Mon, 31 Jan 2005 07:05:35 -0800
Received: from localhost (localhost [127.0.0.1])
	by rav.antivirus (Postfix) with ESMTP id E50C3800B5;
	Mon, 31 Jan 2005 16:05:04 +0100 (CET)
Received: from localhost (x123.decis.nl [130.161.177.123])
	by mx4.tudelft.nl (Postfix) with ESMTP id 3EEF08009C;
	Mon, 31 Jan 2005 16:05:04 +0100 (CET)
Received: by localhost (Postfix, from userid 1001)
	id 41A3110D595; Mon, 31 Jan 2005 16:03:14 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Thomas Hood <jdthood@aglu.demon.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lintian postinst and prerm are #!/bin/sh scripts but use command -v
X-Mailer: reportbug 3.2
Date: Mon, 31 Jan 2005 16:03:14 +0100
Message-Id: <20050131150314.41A3110D595@localhost>
X-Virus-Scanned: by amavisd-new at tudelft.nl
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: lintian
Version: 1.23.7
Severity: minor

"command -v" is not POSIX.  The postinst and prerm scripts use it and have
#!/bin/sh at the top, so they violate policy 10.4.

Possible solutions:

* Using #!/bin/bash eliminates the 10.4 violation.  However, there
  remains the additional problem that "command -v" doesn't really work
  as a check whether or not a command is runnable.  The string that it
  outputs is not necessarily the pathname of an executable file.
  (See #291197.)
* Use the which program from debianutils.
* Use the trydo() function I posted to #291026.
* Use the findcommand() function posted by Tollef Fog Heen in #218530.
* Assume that install-docs is at /usr/sbin/install-docs and just use
  test -x /usr/sbin/install-docs


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro (charmap=ISO-8859-15)

Versions of packages lintian depends on:
ii  binutils                   2.15-5        The GNU assembler, linker and bina
ii  diffstat                   1.35-1        produces graph of changes introduc
ii  file                       4.12-1        Determines file type using "magic"
ii  gettext                    0.14.1-7      GNU Internationalization utilities
ii  intltool-debian            0.30+20040213 Help i18n of RFC822 compliant conf
ii  man-db                     2.4.2-19      The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.4-5       Larry Wall's Practical Extraction 

-- no debconf information

---------------------------------------
Received: (at 292981-close) by bugs.debian.org; 21 Jun 2005 00:09:20 +0000
>From katie@ftp-master.debian.org Mon Jun 20 17:09:20 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DkWKO-0008Ij-00; Mon, 20 Jun 2005 17:09:20 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DkWDk-0008QL-00; Mon, 20 Jun 2005 20:02:28 -0400
From: Frank Lichtenheld <djpig@debian.org>
To: 292981-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#292981: fixed in lintian 1.23.9
Message-Id: <E1DkWDk-0008QL-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 20 Jun 2005 20:02:28 -0400
Delivered-To: 292981-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: lintian
Source-Version: 1.23.9

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:

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



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

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

Debian distribution maintenance software
pp.
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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 17 Jun 2005 02:17:52 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.23.9
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
Description: 
 lintian    - Debian package checker
Closes: 292981 293443 301056 314187 314879
Changes: 
 lintian (1.23.9) unstable; urgency=low
 .
   * The "Wow, so much time at hand" release
 .
   * [FL] Convert build process to debhelper
     - debian/rules    - adapted
     - debian/compat   - new
     - debian/dirs     - new
     - debian/docs     - new
     - debian/control  - add build depends
     - debian/postinst - remove (Closes: #292981)
     - debian/conffiles- remove
     - debian/prerm    - adapted
   * debian/control:
     + [FL] Update Standards-Version to 3.6.2
 .
   * checks/conffiles:
     + [JvW] Warn on /var files being a conffile too (Closes: #293443)
   * checks/debconf:
     + [FL] Also report postinst-does-not-load-confmodule and
       postrm-does-not-purge-debconf if the related files don't
       exist at all. Spotted by Gerfried Fuchs (Closes: #301056)
   * checks/menus:
     + [FL] New check menu-file-in-usr-lib because /usr/lib/menu is
       deprecated
     + [FL] Also find menu files in /usr/share/menu (Closes: #314187)
     + [FL] Rename executable-in-usr-lib-menu to executable-menu-file
   * checks/menu-format:
     + [FL] Adapt to changes in collections/menu-files
   * checks/standards-version:
     + [FL] Update to 3.6.2 (Closes: #314879)
 .
   * collections/menu-files:
     + [FL] Also collect files from /usr/share/menu
Files: 
 9a29a76decae3c827c5e9e5c5229efad 770 devel optional lintian_1.23.9.dsc
 f6b475110f3f7432795a27a163d4d291 257966 devel optional lintian_1.23.9.tar.gz
 a46f816b2f548314a82d2171a1f7b330 225032 devel optional lintian_1.23.9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCt1PWQbn06FtxPfARAlIbAKCGJHg03Ek6NREnIAcLFANSUaFVMACg6MuJ
qSSCXADa4dx9JvY0rhMxnwc=
=UI+6
-----END PGP SIGNATURE-----



Reply to: