Bug 142793

Summary: dns/unbound: no default for unbound_enable and PID file in problematic location.
Product: Ports & Packages Reporter: Keith Gaughan <k>
Component: Individual Port(s)Assignee: Sergey Matveychuk <sem>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Keith Gaughan 2010-01-13 18:50:02 UTC
If unbound is installed, but unbound_enabled is not defined in /etc/rc.conf, the system will complain about this. Also, it's putting it's PID file in %%PREFIX%%/etc/unbound/unbound.pid, which is problematic if you want %%PREFIX%% to be read-only or if it's shared as an NFS mount amongst a number of machines.

This patch modifies unbound's rc file to provide a default for unbound_enabled and modifies the location of its PID file to /var/run/unbound.pid.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-13 18:50:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-01-25 14:30:19 UTC
sem         2010-01-25 14:30:05 UTC

  FreeBSD ports repository

  Modified files:
    dns/unbound/files    unbound.in 
  Log:
  - Forgot to set : ${unbound_enable:-"NO"}
  - Allow user to set a pid file location with unbound_pidfile="..."
  
  PR:             ports/142793 (based on)
  Submitted by:   Keith Gaughan <k at stereochro.me>
  
  Revision  Changes    Path
  1.3       +4 -1      ports/dns/unbound/files/unbound.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 Sergey Matveychuk freebsd_committer freebsd_triage 2010-01-25 14:34:50 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!