fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.1k stars 110 forks source link

fix concurrency in init code, fixes #163 #164

Open joernhees opened 7 years ago

joernhees commented 7 years ago

Caches and prefers existing .junest/etc/passwd and group files

Before this fix it was possible that concurrent startup (as in multiple junest processes) lead to partial files for some of the junest processes.

This is a quick fix removing the bug and speeding up startup. There are however a couple of issues that more experienced junest members should look into: