Debian Bug report logs - #581079
dkms: bashism in /bin/sh script

version graph

Package: dkms; Maintainer for dkms is Dynamic Kernel Module System Team <dkms@packages.debian.org>; Source for dkms is src:dkms (PTS, buildd, popcon).

Reported by: Raphael Geissert <atomo64@gmail.com>

Date: Tue, 11 May 2010 06:24:19 UTC

Severity: important

Found in version dkms/2.1.1.2-2

Fixed in version dkms/2.1.1.2-3

Done: Giuseppe Iuculano <iuculano@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#581079; Package dkms. (Tue, 11 May 2010 06:24:22 GMT) (full text, mbox, link).


Message #3 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Raphael Geissert <atomo64@gmail.com>
To: maintonly@bugs.debian.org
Subject: dkms: bashism in /bin/sh script
Date: Tue, 11 May 2010 00:01:14 -0500
Package: dkms
Severity: important
Version: 2.1.1.2-2
User: debian-release@lists.debian.org
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' package)
check I've found your package containing a /bin/sh script making use
of a bashism.

checkbashisms' output:
> possible bashism in ./usr/lib/dkms/common.postinst line 102 (should be
> >word 2>&1):
>     elif [ `which rpm &>/dev/null` ]; then


Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is now the default /bin/sh.

Hints about how to fix bashisms can be found at:
https://wiki.ubuntu.com/DashAsBinSh

If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.

Thank you,
Raphael Geissert




Added tag(s) pending. Request was from Giuseppe Iuculano <iuculano@debian.org> to control@bugs.debian.org. (Fri, 04 Jun 2010 11:33:04 GMT) (full text, mbox, link).


Reply sent to Giuseppe Iuculano <iuculano@debian.org>:
You have taken responsibility. (Fri, 04 Jun 2010 13:51:11 GMT) (full text, mbox, link).


Notification sent to Raphael Geissert <atomo64@gmail.com>:
Bug acknowledged by developer. (Fri, 04 Jun 2010 13:51:11 GMT) (full text, mbox, link).


Message #10 received at 581079-close@bugs.debian.org (full text, mbox, reply):

From: Giuseppe Iuculano <iuculano@debian.org>
To: 581079-close@bugs.debian.org
Subject: Bug#581079: fixed in dkms 2.1.1.2-3
Date: Fri, 04 Jun 2010 13:47:17 +0000
Source: dkms
Source-Version: 2.1.1.2-3

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

dkms_2.1.1.2-3.debian.tar.gz
  to main/d/dkms/dkms_2.1.1.2-3.debian.tar.gz
dkms_2.1.1.2-3.dsc
  to main/d/dkms/dkms_2.1.1.2-3.dsc
dkms_2.1.1.2-3_all.deb
  to main/d/dkms/dkms_2.1.1.2-3_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 581079@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giuseppe Iuculano <iuculano@debian.org> (supplier of updated dkms 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.8
Date: Fri, 04 Jun 2010 13:53:23 +0200
Source: dkms
Binary: dkms
Architecture: source all
Version: 2.1.1.2-3
Distribution: unstable
Urgency: low
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Changed-By: Giuseppe Iuculano <iuculano@debian.org>
Description: 
 dkms       - Dynamic Kernel Module Support Framework
Closes: 553625 571753 581079 581568
Changes: 
 dkms (2.1.1.2-3) unstable; urgency=low
 .
   [ Michael Gilbert ]
   * Update to source format 3 (quilt) for better patch management/handling.
   * Improve the status info displayed during the kernel postinst, and
     provide informative/useful messages when things go awry.
   * Fix bashism in dkms_common.postinst (closes: #581079).
   * Document odd behavior of MAKE[#] (closes: #553625).
   * Document package naming convention (closes: #571753).
   * Use system TMPDIR setting in all scripts (closes: #581568).
 .
   [ Giuseppe Iuculano ]
   * [208b229] Added a lintian override for python-script-but-no-python-
     dep, dkms.py is an apport hook
Checksums-Sha1: 
 65672693dc207cb4815ed8eedde85077ed798e68 1290 dkms_2.1.1.2-3.dsc
 d28c9c77a72b0a5c15da37dbfcdba41ef5d3811e 14937 dkms_2.1.1.2-3.debian.tar.gz
 29e818243b5bdec4c9a7acf58b90dfbd3591b776 70418 dkms_2.1.1.2-3_all.deb
Checksums-Sha256: 
 853dcc454b9fdc767640a46cf738ad1248fdbbff51dfbb6243eda73c8f51b296 1290 dkms_2.1.1.2-3.dsc
 377913f6d65d0e2034b7ca31e198c7e3ead064cbb81ba258a8456b0154b8fe47 14937 dkms_2.1.1.2-3.debian.tar.gz
 243e8fc22c6ee6f97ef8798e3134ae77c01f9d2e0679f680c58be564546827c8 70418 dkms_2.1.1.2-3_all.deb
Files: 
 3657301e7f02c3fdb83c183164f79e3b 1290 kernel optional dkms_2.1.1.2-3.dsc
 8f884a46bd2a6358ab3b8cd5e6fe74ea 14937 kernel optional dkms_2.1.1.2-3.debian.tar.gz
 e4acc8fbccc6628532879e0dd1b522f9 70418 kernel optional dkms_2.1.1.2-3_all.deb

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

iEYEARECAAYFAkwJALgACgkQNxpp46476aoc0wCfVvBKzihCerwqLRRZWkzAw8bW
vIsAoIoQMfivvtCzZtxMjZc8wSyyHsNH
=gBqE
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 13 Jul 2010 07:39:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 06:29:51 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.