Bug 142793 - dns/unbound: no default for unbound_enable and PID file in problematic location.
Summary: dns/unbound: no default for unbound_enable and PID file in problematic location.
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: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 18:50 UTC by Keith Gaughan
Modified: 2010-01-25 14:40 UTC (History)
0 users

See Also:


Attachments
file.diff (648 bytes, patch)
2010-01-13 18:50 UTC, Keith Gaughan
no flags Details | Diff

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