Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 52639 - daemon --user has wrong output on console
daemon --user has wrong output on console
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-08-27 11:44 EDT by Robert Olson
Modified: 2014-03-16 22:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-27 11:50:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
/etc/rc.d/init.d/bug (819 bytes, text/plain)
2001-08-27 11:45 EDT, Robert Olson
no flags Details
Possible fix for this (not sure if it works right if the app fails) (800 bytes, patch)
2001-08-27 11:50 EDT, Robert Olson
no flags Details | Diff

  None (edit)
Description Robert Olson 2001-08-27 11:44:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; AT&T 

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:

Steps to Reproduce:
1. Install /etc/rc.d/init.d/bug (attached)
2. Run /etc /rc.d/init.d/bug start

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 -eq 0 ] && touch /var/lock/subsys/bug
        return $RETVAL
Comment 1 Robert Olson 2001-08-27 11:45:23 EDT
Created attachment 29716 [details]
Comment 2 Robert Olson 2001-08-27 11:50:05 EDT
Created attachment 29717 [details]
Possible fix for this (not sure if it works right if the app fails)
Comment 3 Bill Nottingham 2001-08-27 11:51:28 EDT
This is fixed in the roswell initscripts.

Note You need to log in before you can comment on or make changes to this bug.