From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; AT&T CSM6.0) Description of problem: If an init.d script uses 'daemon --user proc' to start a process, the text printed incorrect: [root@34float7 init.d]# /etc/rc.d/init.d/bug start [ OK ] bug: [ OK ] Attached is the init.d script that produced this. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install /etc/rc.d/init.d/bug (attached) 2. Run /etc /rc.d/init.d/bug start 3. Actual Results: [root@34float7 init.d]# /etc/rc.d/init.d/bug start [ OK ] bug: [ OK ] Expected Results: [root@34float7 init.d]# /etc/rc.d/init.d/bug start Starting bug: [ OK ] Additional info: The start function from /etc/rc.d/init.d/bug: start() { # Check if bug is already running if [ ! -f /var/lock/subsys/bug ]; then echo -n $"Starting $prog: " #daemon id daemon --user nobody id RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bug echo fi return $RETVAL }
Created attachment 29716 [details] /etc/rc.d/init.d/bug
Created attachment 29717 [details] Possible fix for this (not sure if it works right if the app fails)
This is fixed in the roswell initscripts.