Bug 224951 - dns/bind911 [patch] warning when altlog_proglist contains other programs
Summary: dns/bind911 [patch] warning when altlog_proglist contains other programs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-01-06 13:41 UTC by Trix Farrar
Modified: 2018-01-08 13:38 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments

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