Package: rkhunter
Version: 1.4.0-1
Severity: important
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 a /bin/sh script making 
use of a bashism.

checkbashisms' output:
>possible bashism in ./usr/share/rkhunter/scripts/rkhupd.sh line 5 (brace
>expansion):
>if ! grep -qsE '^DISABLE_TESTS=.*(hashes.*attributes|attributes.*hashes|
properties)' /etc/rkhunter.conf{.local,} || \
>     grep -qsE '^ENABLE_TESTS=.*(hashes|attributes|properties)'
>     /etc/rkhunter.conf{.local,}; then

Not using bash (or a Debian Policy conformant shell interpreter which 
doesn't provide such an extra feature) as /bin/sh is likely to lead to 
errors or unexpected behaviours.

You can find hints about how to fix bashisms at:
https://wiki.ubuntu.com/DashAsBinSh

Thank you,
Raphael Geissert

_______________________________________________
forensics-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/forensics-devel

Reply via email to