Wrong exit code from initscript ganglia-monitor in package ganglia-monitor_3.6.0

Bug #1366980 reported by Dmitry
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ganglia (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

if process already run and exec initscript with start option than get exit code 1 instead 0.

# ps aux | grep ganglia
ganglia 3687 0.0 0.2 56348 2148 ? Ssl 15:22 0:07 /usr/sbin/gmond --pid-file /var/run/gmond.pid

# /etc/init.d/ganglia-monitor start; echo $?
Starting Ganglia Monitor Daemon: 1

Related branches

Revision history for this message
Dmitry (dmitry-r-j) wrote :

it's happened because in ubuntu package ganglia-monitor v3.6.0 there is init config for upstart which have a name of pidfile 'ganglia0monitor.pid', while in init.d script have a pidfile name gmond.pid.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ganglia (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.