[Bug 202556] [PATCH] net-mgmt/nagios4: nagios_enable not set in rc script
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 21 21:32:45 UTC 2015
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 at FreeBSD.org
Reporter: John.Marshall at riverwillow.com.au
Flags: maintainer-feedback?(mat at FreeBSD.org)
Assignee: mat at 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.
More information about the freebsd-ports-bugs
mailing list