Red Hat Bugzilla – Bug 207075
Typo in /etc/init.d/irqbalance makes irqbalance start at every runlevel change
Last modified: 2007-11-30 17:11:43 EST
echo -n $"Starting $prog: "
daemon irqbalance $ONESHOT
[ $RETVAL -eq 0 -a -n "$ONESHOT" ] && touch /var/lock/subsys/irqbalance
If ONESHOT is empty, -n "$ONESHOT" is false, and /var/lock/subsys/irqbalance is
This causes irqbalance to get started every time one changes the runlevel.
Hopefully, only one irqbalance process runs, because the pid file is checked.
Nevertheless, it's broken.
It should be:
[ $RETVAL -eq 0 -a -z "$ONESHOT" ] && touch /var/lock/subsys/irqbalance
fixed in -1.26