From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686) Description of problem: note that /usr/sbin/junkbuster is not started when boot to runlevel 5. Also note that the script has an error where the return code from daemon is reported as ?$ instead of $?. I was able to successfully start /usr/sbin/junkbuster by doing the following: 1. Create my own /etc/junkbuster/blocklist (move the original to: /etc/junkbuster/blocklist.orig) 2. Write my own script that uses "nohup" to start it the following manner: nohup /usr/sbin/junkbuster /etc/junkbuster/config >/dev/null \ 2>/dev/null & Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Simply reboot the machine. (from power-off, or any other state) 2. check process table (junkbuster will not be running) 3. Actual Results: /usr/sbin/junkbuster is not running. Expected Results: 1. /usr/sbin/junkbuster should be running. 2. It should have been reported on bootup with the green 'OK' status. Additional info: Name : junkbuster Relocations: (not relocateable) Version : 2.0.2 Vendor: Red Hat, Inc. Release : 28 Build Date: Sat 07 Jul 2001 03:03:32 PM CDT Install date: Thu 21 Feb 2002 06:48:03 AM CST Build Host: stripples.devel.redhat.com Group : Applications/System Source RPM: junkbuster-2.0.2-28.src.rpm Size : 299205 License: GPL acf50dd5ec3633a1a5876e8c5fa2efbe /etc/rc5.d/K09junkbuster
junkbuster will not be started in any runlevel unless you tell it to do otherwise by executing 'chkconfig -level 345 junkbuster on' The return code of the stop() function will be fixed in the next release.
Your suggestion did not fix the problem. I ran 'chkconfig --level 345 junkbuster on', rebooted, and the problem still exists. bootup messages show a green 'ok' saying junkbuster started, the lock file is created , but junkbuster is still not running as verified by: ps -ef|grep junk after login after reboot. If you need additional information I can supply it.
can you please run 'sh -x /etc/initd./junkbuster restart 2>&1 | tee /tmp/junkbuster_log' and send me the output (/tmp/junkbuster_log) ?
Created attachment 50244 [details] Requested by Karsten, output logfile: /etc/init.d/junkbuster