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. By adding a logger to it, we follow the pattern of most other services. Fixes #18961.
This commit is contained in:
parent
6e16db3683
commit
6041f96bef
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec vlogger -t named
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue