Bug#385391: update-grub still uses /bin/sh as its interpreter, fails with dash

Stefan Borggraefe borggraefe at web.de
Wed Aug 30 23:24:17 UTC 2006


Package: grub
Version: 0.97-14
Severity: serious
Justification: Policy 10.4

grub 0.97-14 had the following changelog enty:

  * update-grub:  Set interpreter to /bin/bash to cope with non-POSIX
    extensions.  (also mentioned in #361929)

But /usr/sbin/update-grub still has /bin/sh as its interpreter and
executing this file with dash fails:

root at rattle:~# /usr/sbin/update-grub
[: 25: ==: unexpected operator
exec: 25: -a: not found

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (9, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libncurses5                  5.5-2       Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information




More information about the Pkg-grub-devel mailing list