junest
junest copied to clipboard
Solve concurrency issue when accessing to passwd and group files
This concern has been raised in the issue https://github.com/fsquillace/junest/issues/163 .
From the author's issue:
Aside from causing long junest startup times, this may also cause problems for multiple parallel junest sessions: during startup the shared ${JUNEST_HOME}/etc/{passwd,group} might be incomplete, causing weird problems for running / simultaneously starting sessions.
One solution would be to create tmp files for each JuNest session in order to isolate them.