mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 10:59:35 -05:00
Merge branch '1430-fix-logging-long-named-command-lines' into 'master'
Fix logging long named command lines Closes #1430 See merge request isc-projects/bind9!2667
This commit is contained in:
commit
b1413ccf8d
2 changed files with 2 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ LIBDNS_EXTERNAL_DATA extern unsigned int dns_zone_mkey_month;
|
|||
static bool want_stats = false;
|
||||
static char program_name[NAME_MAX] = "named";
|
||||
static char absolute_conffile[PATH_MAX];
|
||||
static char saved_command_line[8192] = { 0 };
|
||||
static char saved_command_line[4096] = { 0 };
|
||||
static char ellipsis[5] = { 0 };
|
||||
static char version[512];
|
||||
static unsigned int maxsocks = 0;
|
||||
|
|
|
|||
|
|
@ -191,8 +191,7 @@ LONG_CMD_LINE=$(cat long-cmd-line)
|
|||
# shellcheck disable=SC2086
|
||||
(cd ns2 && $NAMED $LONG_CMD_LINE -c "named-alt7.conf" -g > named$n.run 2>&1 &)
|
||||
wait_for_named "running$" ns2/named$n.run || ret=1
|
||||
#grep "running as.*\.\.\.$" ns2/named$n.run > /dev/null || ret=1
|
||||
echo_i "skipped - the ellipsis is currently not printed"
|
||||
grep "running as.*\.\.\.$" ns2/named$n.run > /dev/null || ret=1
|
||||
kill_named ns2/named.pid || ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status+ret))
|
||||
|
|
|
|||
Loading…
Reference in a new issue