On Oct 22, John Goerzen <jgoer...@complete.org> wrote:
In an environment where ulimit -n is 1048576 (as is, for instance, the case for Docker and most likely other environments that don't have ulimit/rlimits set by something like systemd-system), most UUCP programs (including even uulog) try to close nearly all 1048576 possible fds. The culprit code appears to be in unix/init.c:
I fixed a similar issue in inn this way: https://salsa.debian.org/md/inn/-/commit/6ecb1b5a60ede157d8ab6f1be97263213c566a04Another option would be to use close_range(2), which has been supported since bullseye.
-- ciao, Marco
signature.asc
Description: PGP signature