misc/184747: sysutils/ganglia-monitor-core: gmond script does not start at boot time
Ganael Laplanche
martymac at FreeBSD.org
Fri Dec 13 14:00:00 UTC 2013
>Number: 184747
>Category: misc
>Synopsis: sysutils/ganglia-monitor-core: gmond script does not start at boot time
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 13 14:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Ganael Laplanche
>Release: 9.1-RELEASE-p4
>Organization:
http://contribs.martymac.org
>Environment:
FreeBSD ganglia.sis.pasteur.fr 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Hi Steven,
The following patch to gmond.in :
http://svnweb.freebsd.org/ports/head/sysutils/ganglia-monitor-core/files/gmond.in?r1=251553&r2=283939
introduced a bug in the script.
When started manually, everything runs fine, but when started during the boot sequence, gmond is never started.
This is because at boot time, $0 is set to /etc/rc, which leads to setting the 'name' variable to rc. As a consequence, the remaining of the script fails.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list