Alexey Serbin has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/6602

Change subject: [mini-kdc] /dev/stderr instead of STDERR for kdc logs
......................................................................

[mini-kdc] /dev/stderr instead of STDERR for kdc logs

This is a workaround for kdc5krb trying to open STDERR in read-write
mode "a+" (krb5/src/lib/kadm5/logger.c).  Since mini-kdc is run via
the SubProcess utility, its STDERR is piped via write end of the pipe
and cannot be opened in read mode.  That leads to error messages like

  krb5kdc: cannot parse <STDERR>
  krb5kdc: warning - logging entry syntax error

Specifiying 'FILE:/dev/stderr' allows for using the same destination
for the error output, but not opening the standard error in read mode.

Change-Id: I212e2cceb80acbe88040b16d9055cf01ac8a761b
---
M src/kudu/security/test/mini_kdc.cc
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/6602/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6602
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I212e2cceb80acbe88040b16d9055cf01ac8a761b
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>

Reply via email to