]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: let's bump RLIMIT_NOFILE for tmpfiles 11482/head
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Jan 2019 15:34:52 +0000 (16:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Feb 2019 16:16:54 +0000 (17:16 +0100)
commite5358401b5df8d395e99815b7a69b8424887472c
treecee2cc829abb71a1d6a12aacb26d5898081b367a
parentaa1f2e52e8445c8059c3793dfd779e2296eb5f2a
tmpfiles: let's bump RLIMIT_NOFILE for tmpfiles

We potentially might descent into quite deep directory trees. Let's
hence make sure we can allocate a lot of fds.

(This reflects the fact that glibc nftw() and friends have some logic in
place to reduce fd usage while descending into directory trees. Doing so
is a bit nasty I think, and given that fds are basically free now, if we
ask for them, lte's just protect ourselves and make use of that)

(No, I am not aware of a real-world case where this was necessary, but
let's better be safe than sorry)
src/tmpfiles/tmpfiles.c