Description of problem: The 'du' seems to leak file descriptors for each argv parameter, with end result that: du * in a directory with _lots_ of _files_ gives error message: (actually lots of argv entries, even if they are the same file) du: cannot open current directory: Too many open files du: `30968': Too many open files (files with all numeric names in my test case) My ulimit -n is 1024, and first error is on line 1022 of the output. Version-Release number of selected component (if applicable): coreutils-5.0-3 How reproducible: Always Steps to Reproduce: 1. Create a directory with about a dozen files (or go to such), 2. ulimit -n 8 3. du -s * Additional info: For this to happen, 'du' argument set must have more elements, than your current 'ulimit -n' value is (n=10 allows 10-2 args without failure)
Thanks for the report. Reported upstream too.
Fixed package will shortly appear in rawhide.