From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Description of problem:
In line 250:
if [ -n $SYSLOGOPTS ] || [ -n $NETLOGOPTS ] ; then
always returns true.
You might have intended:
if [ -n "$SYSLOGOPTS" ] || [ -n "$NETLOGOPTS" ] ; then
It's a minor issue, because the only side effect is that
the netconsole module is always loaded. But if you wanted
that, the if statement is irrelevant.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Check the /etc/rc.d/init.d/netdump script
Also, if you set NETLOGADDR=NONE, you get the desired behaviour -- but
only because the unintended insmod of the netconsole module fails.
This is already fixed in furute versions of fedora and RHEL