Date: Fri, 21 Aug 2015 21:32:44 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202556] [PATCH] net-mgmt/nagios4: nagios_enable not set in rc script Message-ID: <bug-202556-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202556 Bug ID: 202556 Summary: [PATCH] net-mgmt/nagios4: nagios_enable not set in rc script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: John.Marshall@riverwillow.com.au Flags: maintainer-feedback?(mat@FreeBSD.org) Assignee: mat@FreeBSD.org Keywords: patch Created attachment 160191 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160191&action=edit Set default value "NO" for nagios_enable in rc script Comments at the beginning of the port's rc script say that nagios_enable is set to NO by default. This patch makes it so. The rc script does not set a value for nagios_enable at all, so if the variable is not set in the system rc.conf, the rc system emits the following WARNING message during startup or shutdown if the port is installed but not configured: /usr/local/etc/rc.d/nagios: WARNING: $nagios_enable is not set properly - see rc.conf(5). This patch modifies the port's rc script to set nagios_enable to "NO" if the variable is empty or not set in rc.conf. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202556-13>