Bug 224951

Summary: dns/bind911 [patch] warning when altlog_proglist contains other programs
Product: Ports & Packages Reporter: Trix Farrar <trix>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (mat)
Version: Latest   
Hardware: Any   
OS: Any   

Description Trix Farrar 2018-01-06 13:41:25 UTC
When the /etc/rc.conf variable altlog_proglist contains more than only "named"
the test in /usr/local/etc/rc.d/named fails.

--- named-orig	2018-01-06 07:40:47.840177000 -0600
+++ named	2018-01-06 07:40:07.603621000 -0600
@@ -313,7 +313,7 @@
 		checkyesno named_chroot_autoupdate && chroot_autoupdate
 
 		case "${altlog_proglist}" in
-		  named)
+		  *named*)
 		    ;;
 		  *)
 		    warn 'Using chroot without setting altlog_proglist, logging may not'
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-01-08 13:38:57 UTC
A commit references this bug:

Author: mat
Date: Mon Jan  8 13:38:48 UTC 2018
New revision: 458413
URL: https://svnweb.freebsd.org/changeset/ports/458413

Log:
  Fix altlog_proglist warning when it contains more than the named service.

  PR:		224951
  Submitted by:	Trix Farrar
  Sponsored by:	Absolight

Changes:
  head/dns/bind9-devel/files/named.in
  head/dns/bind910/Makefile
  head/dns/bind910/files/named.in
  head/dns/bind911/Makefile
  head/dns/bind911/files/named.in
  head/dns/bind912/Makefile
  head/dns/bind912/files/named.in
  head/dns/bind99/Makefile
  head/dns/bind99/files/named.in