Red Hat Bugzilla – Bug 61155
/usr/sbin/junkbuster not started on bootup by script K09junkbuster. Have to start manually with nohup.
Last modified: 2008-05-01 11:38:01 EDT
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
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
nohup /usr/sbin/junkbuster /etc/junkbuster/config >/dev/null \ 2>/dev/null &
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Simply reboot the machine. (from power-off, or any other state)
2. check process table (junkbuster will not be running)
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.
Name : junkbuster Relocations: (not relocateable)
Version : 2.0.2 Vendor: Red Hat, Inc.
Release : 28 Build Date: Sat 07 Jul 2001 03:03:32
Install date: Thu 21 Feb 2002 06:48:03 AM CST Build Host:
Group : Applications/System Source RPM:
Size : 299205 License: GPL
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
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