Bug 104906 - net-mgmt/nsca -- fix rc script
Summary: net-mgmt/nsca -- fix rc script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alejandro Pulver
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-29 13:50 UTC by Matthew Seaman
Modified: 2006-11-06 00:30 UTC (History)
0 users

See Also:


Attachments
nsca.diff (729 bytes, patch)
2006-10-29 13:50 UTC, Matthew Seaman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!