Created attachment 316052 [details] testcase Description of problem: when I want set open files limit to infinity kernel returns EPERM. Version-Release number of selected component (if applicable): $ uname -r 2.6.27-0.312.rc5.git7.fc10.x86_64 How reproducible: always Steps to Reproduce: try run attached testcase (under root, of course) and see output from strace Actual results: limit is not set, EPERM is returned Expected results: limit is set to "infinity" (currently NR_OPEN)
Created attachment 316057 [details] proposed patch
If you haven't already, can you send this to linux-kernel.org please ? Thanks.
(In reply to comment #2) > If you haven't already, can you send this to linux-kernel.org > please ? > > Thanks. Done, already in MM tree. Would it be possible include attached patch to next distribution kernel update, please? (all F8/F9/rawhide kernels) It is needed by bind package (bug #461913). Thanks
Improved version of patch is on http://lkml.org/lkml/2008/9/12/56
*** Bug 461913 has been marked as a duplicate of this bug. ***
Has this patch made it into the kernel, if so please close this bug.
Patch has been merged in 0c2d64fb6cae9aae480f6a46cfe79f8d7d48b59f (2.6.28 series), closing