when hostfs is used as the UML's root filesystem its file descriptors
aren't closed when the kernel is rebooted. Subsequently, after a couple
of reboots the guest will reach the maximum number of allowed file
descriptors (usually 1024) and fail to open any more files.
I tried to fix the problem myself, see patch. It works for me, but I'm
not sure if it's the correct solution.