Bug#559344: kldutils: bashism used in /etc/init.d/module-init-tools
Package: kldutils
Version: 8.0-1
Severity: normal
When running with a default shell of dash and not bash, the
/etc/init.d/module-init-tools script complains about not finding the bash
builtin shopt:
# /etc/init.d/module-init-tools start
/etc/init.d/module-init-tools: 62: shopt: not found
#
Which is from this call:
modules="`shopt -s nullglob ; cat /etc/modules /etc/modules.d/* \
| sed -e \"s/#.*//g\" -e \"/^\( \|\t\)*$/d\" `"
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 7.2-1-486
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 kldutils depends on:
ii freebsd-utils 7.2-9 FreeBSD utilities needed for GNU/k
ii libbsd0 0.1.6-1 utility functions from BSD systems
ii libc0.1 2.10.2-2 GNU C Library: Shared libraries
kldutils recommends no packages.
kldutils suggests no packages.
-- debconf information excluded
-- debsums errors found:
Your vendor has not defined Fcntl macro O_NOATIME, used at /usr/bin/debsums line 277.
Reply to: