[Pkg-dkms-maint] Bug#560420: does NOT work with SHELL!=bash

Evgeni Golov evgeni at debian.org
Fri Dec 11 01:03:34 UTC 2009


Package: dkms
Version: 2.1.0.1-3
Severity: grave

Hi,

in the changelog, you write you made dkms_autoinstaller behave well with
SHELL!=bash. This seems not to be the case for me (/bin/sh is dash, I
tested zsh too).

This seems to be because of
   if [ -f $filename/source/dkms.conf ]; then
        . $filename/source/dkms.conf
   else
as these configs contains FOO[0]=BAR, which makes zsh cry:
zsh: FOO: assignment to invalid subscript range
and dash whine:
dash: FOO[0]=BAR: not found

I fear you'll have to go back to /bin/bash, or change the format of the
config files in an incomatible way...

Regards
Evgeni

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential               11.4       Informational list of build-essent
ii  dpkg-dev                      1.15.5.4   Debian package development tools
ii  gcc                           4:4.4.2-2  The GNU C compiler
ii  make                          3.81-7     An utility for Directing compilati
ii  module-init-tools             3.11-1     tools for managing Linux kernel mo

Versions of packages dkms recommends:
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  linux-headers-2.6.30-1-amd64  2.6.30-6   Header files for Linux 2.6.30-1-am
ii  linux-headers-2.6.30-2-amd64  2.6.30-8   Header files for Linux 2.6.30-2-am
ii  linux-headers-2.6.31-1-amd64  2.6.31-2   Header files for Linux 2.6.31-1-am
ii  linux-image-2.6.30-1-amd64 [l 2.6.30-6   Linux 2.6.30 image on AMD64
ii  linux-image-2.6.30-2-amd64 [l 2.6.30-8   Linux 2.6.30 image on AMD64
ii  linux-image-2.6.31-1-amd64 [l 2.6.31-2   Linux 2.6.31 for 64-bit PCs
ii  linux-image-2.6.32-trunk-amd6 2.6.32-1   Linux 2.6.32 for 64-bit PCs
ii  lsb-release                   3.2-23     Linux Standard Base version report
ii  menu                          2.1.42     generates programs menu for all me
ii  patch                         2.6-2      Apply a diff file to an original
ii  sudo                          1.7.2p1-1  Provide limited super user privile

dkms suggests no packages.

-- no debconf information





More information about the Pkg-dkms-maint mailing list