ports/117950: Incorrect installation location of the nsca.cfg-sample

Chris Haulmark chris at sigd.net
Fri Nov 9 23:20:02 UTC 2007


>Number:         117950
>Category:       ports
>Synopsis:       Incorrect installation location of the nsca.cfg-sample
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 09 23:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Chris Haulmark
>Release:        6.3
>Organization:
Hobbist
>Environment:
FreeBSD sigd.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Feb  9 20:50:51 CST 2007     admin at sigd.net:/usr/obj/usr/src/sys/SMP  i386

>Description:
Doing the make install in /usr/ports/net-mgmt/nsca and the file, nsca.cfg-sample, is installed to /usr/local/etc directory.  I copied it over to nsca.cfg in /usr/local/etc/nagios.cfg and edited it properly.  Looked in the rc.d startup script for proper line to add to rc.conf.  Noticed the path is pointed to /usr/local/etc/nagios/nsca.cfg.

I think that the sample file should be installed into /usr/local/etc/nagios.

There could be a valid reason not to do that if nagios directory does not exist due to no install of nagios.

It took me about 10 mins to find the nsca.cfg-sample after I did make install clean.  I did not have access to my large buffer to notice the results of make install clean to know exactly where it was installed.

Instead I created the nsca.cfg from scratch and stumbled onto this nsca.cfg-sample by accident while looking in /usr/local/etc/ directory.

>How-To-Repeat:
cd /usr/ports/net-mgmt/nsca
make install
ls /usr/local/etc/ | grep nsca
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list