bsdci / libioc

A Python library to manage jails with ioc{age,ell}
https://bsd.ci/libioc
Other
38 stars 11 forks source link

fdescfs is no longer necessary #762

Open asomers opened 4 years ago

asomers commented 4 years ago

iocage's documentation recommends mounting fdescfs on the host to workaround a well-known Python performance bug: closing all file descriptors in between fork and exec one at a time takes forever.

However, Python has now finally fixed the bug the correct way! If you use FreeBSD's Python packages, the minimum versions containing the fix are 3.8.1_2, 3.7.5_1, 3.6.9_1, 3.5.9_3, or 2.7.17_1 . All of the ports in FreeBSD's ports tree, in both head and the last two quarterly branches, include the fix. So it's safe to say that any user with an up-to-date Python version no longer needs fdescfs to use iocage. I think you should remove it from the documentation.

See also:

igalic commented 4 years ago

whoah! thank you for this report