When configuring gentoo-sources and selecting "OpenRC, runit and other script based systems and managers", it should enable the "POSIX file locking API". I compiled a kernel without this feature and when I booted it stopped at "Caching service dependencies", which was the 4th or so service that started. The error was "Call to flock failed: Function not implemented". Reproducible: Always
Did you also need : MANDATORY_FILE_LOCKING ?
Looks like systemd needs FILE_LOCKING, also.
No, I compiled without Mandatory file locking and it worked.
(In reply to Marius Stoica from comment #3) > No, I compiled without Mandatory file locking and it worked. Thanks, yeah, there's notes about that being dead code that have since found. I'll start adding FILE_LOCKING to the supported kernels through the next few days.
5.3 slipped through the cracks, it will be in the next release
commit 8207d7631e9b199343cacb8aa1a86a599e7242d9 Author: Mike Pagano <mpagano@gentoo.org> Date: Wed Oct 16 14:20:44 2019 -0400 Add FILE_LOCKING to GENTOO_LINUX config. See bug #694688. Thanks to Marius Stoica for reporting Signed-off-by: Mike Pagano <mpagano@gentoo.org>