Date: Fri, 13 Dec 2013 13:55:53 GMT From: Ganael Laplanche <martymac@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/184747: sysutils/ganglia-monitor-core: gmond script does not start at boot time Message-ID: <201312131355.rBDDtr0Y091590@oldred.freebsd.org> Resent-Message-ID: <201312131400.rBDE00Zu099368@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312131355.rBDDtr0Y091590>