Package: amanda-server
Severity: important
Version: 2.5.2p1-1
User: [EMAIL PROTECTED]
Usertags: goal-dash

Hello maintainer,

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

checkbashisms' output:
> possible bashism in ./usr/sbin/amverify line 346 (trap with signal
> numbers): trap 'report "aborted!"; echo "aborted!" >> $DEFECTS; sendreport;
> rm -fr $TEMP; exit 1' 1 2 3 4 5 6 7 8 10 12 13 14 15 possible bashism in
> ./usr/sbin/amcleanup line 186 (should be 'b = a'): if test "${search_user}"
> == "${dumpuser}" ; then possible bashism in ./usr/sbin/amcleanup line 188
> (should be 'b = a'): elif test "${search_user}" == "root" ; then possible
> bashism in ./usr/sbin/amcleanup line 196 (should be 'b = a'): if test
> ${match_name} -eq 0  && test "${pid_uid}" == "${search_user}" ; then
> possible bashism in ./usr/sbin/amcleanup line 211 (kill -[0-9] or -[A-Z]):
> kill -15 -- ${kill_pid} possible bashism in ./usr/sbin/amcleanup line 215
> (kill -[0-9] or -[A-Z]): kill -9 -- ${kill_pid}


Not using bash as /bin/sh would lead to errors. Please be aware that although 
bash is currently the default /bin/sh there's a release goal for Lenny to 
make dash the default /bin/sh[1].

If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html
https://wiki.ubuntu.com/DashAsBinSh

[1]http://release.debian.org/lenny/goals.txt

Thank you,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to