Bug 104906

Summary: net-mgmt/nsca -- fix rc script
Product: Ports & Packages Reporter: Matthew Seaman <m.seaman>
Component: Individual Port(s)Assignee: Alejandro Pulver <alepulver>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
nsca.diff none

Description Matthew Seaman 2006-10-29 13:50:24 UTC
The /usr/local/etc/rc.d/nsca rc script is unusable as currently
supplied:

  * The ncsa command is installed as /usr/local/sbin/nsca not
    /usr/local/libexec/nagios/nsca

  * /var/spoo/nagios/nsca.lock does not contain a PID.  The
    default in version 2.6 seems to be to use /var/run/nsca.pid

  * Starting nsca as user nagios from the rc script prevents
    the process from chrooting.  nsca will chroot, change UID
    to nagios and drop privileges itself, if those things are
    set in the config file.

  * nsca will reload itself when sent a HUP signal.  

  * ncsa_flags get incorporated into the command line twice
Comment 1 Alejandro Pulver freebsd_committer freebsd_triage 2006-11-06 00:19:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-11-06 00:22:16 UTC
alepulver    2006-11-06 00:21:59 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/nsca/files  nsca.sh.in 
  Log:
  - Fix rc.d script.
  
  PR:             ports/104906
  Submitted by:   Matthew Seaman <m.seaman@infracaninophile.co.uk>
  
  Revision  Changes    Path
  1.2       +4 -5      ports/net-mgmt/nsca/files/nsca.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alejandro Pulver freebsd_committer freebsd_triage 2006-11-06 00:22:20 UTC
State Changed
From-To: open->closed

Committed. Thanks!