From 5a1fe56c4186f5913d4cd710a2871c8ff0fd9ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sun, 31 Jan 2021 00:50:04 -0300 Subject: [PATCH] bind: fix named service. When used with the -f option, it can crash, likely due to a lack of syslog. Using -g makes it work but still keeps it in the foreground, by logging directly to stderr. Fixes #18961. --- srcpkgs/bind/files/named/run | 2 +- srcpkgs/bind/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bind/files/named/run b/srcpkgs/bind/files/named/run index 9b510127a30..34fa224dd5c 100755 --- a/srcpkgs/bind/files/named/run +++ b/srcpkgs/bind/files/named/run @@ -1,4 +1,4 @@ #!/bin/sh mkdir -p /var/run/named || exit 1 chown named:named /var/run/named || exit 1 -exec named -u named -f -c /etc/named/named.conf +exec named -u named -g -c /etc/named/named.conf diff --git a/srcpkgs/bind/template b/srcpkgs/bind/template index f0744606e44..57243a23f4f 100644 --- a/srcpkgs/bind/template +++ b/srcpkgs/bind/template @@ -1,7 +1,7 @@ # Template file for 'bind' pkgname=bind version=9.16.7 -revision=2 +revision=3 _fullver="${version}${_patchver:+-${_patchver}}" wrksrc="${pkgname}-${_fullver}" build_style=gnu-configure