Displaying 1 result from an estimated 1 matches for "bachradsusi".
2014 Oct 24
1
[Bug 2300] New: reexec.sh and login-timeout.sh fail due to a race condition
...?id=2499&action=edit
fix race condition between kill sshd and start_sshd
run test reexec.sh ...
test config passing
FATAL: no sshd running on port 4242
Makefile:168: recipe for target 't-exec' failed
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory
'/home/plautrba/devel/src/bachradsusi.github/openssh-portable.git/regress'
Makefile:483: recipe for target 'tests' failed
make: *** [tests] Error 2
The problem is in the race between
$SUDO kill `$SUDO cat $PIDFILE`
and following
start_sshd
While sshd is still runnning and closing opened socket after it got a
signal, th...