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

Bug#424173: freebsd-utils: bash dependencies in shell scripts run by portable shell



Package: freebsd-utils
Version: 6.2-3
Severity: important
Tags: patch

A few scripts from freebsd-utils contain calls that are not
pure bourne/posix shell, namely:

root@debian:~ # fgrep -nr 'exec -a' /bin /sbin                                                                  
/bin/mount:17:exec -a mount /lib/freebsd/mount ${args}
/bin/sysctl:29:    exec -a sysctl /lib/freebsd/sysctl ${args}
/sbin/route:32:exec -a route /lib/freebsd/route ${cmd} ${args} > /dev/null

This could either be fixed (what is "exec -a" supposed to do?) or,
possibly better, be worked around by changing the first line of
all these scripts to "#!/bin/bash" which is installed anyway.


-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 5.4-1-486
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages freebsd-utils depends on:
ii  freebsd-hackedutils        6.1-1         FreeBSD utilities needed for GNU/k
ii  libbsd0                    0.0-1.2+r1710 BSD compatibility library - shared
ii  libc0.1                    2.5-7         GNU C Library: Shared libraries
ii  libfreebsd0                0.0-5         FreeBSD compatibility library - sh
ii  libgeom0                   6.2-1         FreeBSD GEOM library
ii  libkiconv2                 6.2-1         FreeBSD kernel side iconv library
ii  libkvm0                    6.2-1         FreeBSD kvm (kernel memory interfa

freebsd-utils recommends no packages.

-- no debconf information



Reply to: