Closed zjxcliangyun closed 4 years ago
Fixed with 193b3320bbe98cbecd465c87a8116f6047c66fa6
Thanks for reporting it. We now disable command mode when there is another haveged instance already running.
@jirka-h hi, why can't just error_exit when socket_fd < 0? With the community's patch, haveged will be waiting after input "/usr/sbin/haveged -w 1024 -v 1 --Foreground".
After the haveged service was started, then repeat the haveged command : /usr/sbin/haveged -w 1024 -v 1 --Foreground The command will abort. The reason is that the "sys/entropy/haveged"socket is already used and can not create again, so cmd_listen return -1. But the program is not care about the error ,then FD_SET will raise abort.