Skip to content
Commit 673e1089 authored by Michael Biebl's avatar Michael Biebl
Browse files

core: set fs.file-max sysctl to LONG_MAX rather than ULONG_MAX

Since kernel 5.2 (but also stable kernels like 4.19.53) the kernel
thankfully returns proper errors when we write a value out of range to
the sysctl. Which however breaks writing ULONG_MAX to request the
maximum value. Hence let's write the new maximum value instead,
LONG_MAX.

Closes: #945018
parent 49c05a39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment