From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020916
Description of problem:
In the status() function of /etc/rc.d/init.d/functions, the base name of the
process is queried. This is the first check to determine the status of a
process. It does not account for the fact that unique applications may share
the same base name, and therefore incorrectly reports that a process is running
when it is not.
For example, /usr/libexec/postfix/master and /usr/cyrus/bin/master. Cyrus will
fail to start every time because it starts after postfix, and functions.status()
tells the cyrus script that "master" is already running.
Since the various init scripts tap into RedHat's functions, the functions should
be more intelligent in situations like this. Using the entire path works with
pidof, and it's reasonable to consider that init scripts would have and use the
correct path information (e.g., /usr/cyrus/bin/master).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. View boot sequence
3. Note that Postfix starts, and that later, cyrus does not start. The cyrus
failure is directly attributable to the status received from functions.status(),
indicating "master" is already running.
Expected Results: The correct results would be generated if functions.status()
used a "pidof /usr/cyrus/bin/master" instead of a "pidof /usr/cyrus/bin/master
|| pidof master". This latter case will always be true if there is a different
application that has the same base name as one that is started later in the boot
Closing bugs on older, no longer supported, releases. Apologies for any lack of
If this persists on a current release, such as Fedora Core 4, please open a new bug.