Open infinitesteps opened 1 week ago
I was able to reproduce the LOG
and WARNING
messages manually (i.e., without using the docker file). It should be possible to clean those up.
I could only get that FATAL
error to appear in the logs by entering an incorrect password. Did you add the appropriate user using bsim_ctl adduser
?
Describe the bug The postgres log has some suspicious entries when the bsim client connects:
LOG: could not receive data from client: Connection reset by peer
FATAL: password authentication failed for user ...
WARNING: SET LOCAL can only be used in transaction blocks
To Reproduce Steps to reproduce the behavior:
docker run --rm -it -p 5432:5432 --entrypoint='/bin/bash' bsimdbbare
$GHIDRA_HOME/support/bsim_ctl start "$DATA_DIRECTORY" --auth password
tail -f $DATA_DIRECTORY/logfile
$GHIDRA_INSTALL_DIR/support/bsim createdatabase postgresql://127.0.0.1:5432/bsim medium_nosize --user gradle
Expected behavior Expect the log file not to have these entries.
Environment (please complete the following information): See Dockerfile