Description of problem: If the environment is very large, xargs fails immediately on startup. Version-Release number of selected component (if applicable): findutils-4.1.7-9 How reproducible: Every time Steps to Reproduce: 1.Run the attached script Actual results: Output of "xargs: environment is too large for exec" and exit status 1. Expected results: No output and exit status 0. Additional info: This problem is fixed in later upstreams version. The version in RHEL 4 (rpm -q -f `which xargs`) is also not affected. But RHEL 3 does fail.
Created attachment 124486 [details] Script triggering the bug
Sorry about the silly reference to RHEL 4 findutils in comment 0. It should say findutils-4.1.20-7, of course.
Thanks for your report. This is already tracked for RHEL 3, although probably not easy to find. *** This bug has been marked as a duplicate of 135129 ***
So it was the same! I searched and found that one, but I was not sure it was the same problem. I wasn't sure if ARG_MAX was just for arguments, or actually included the environment. And the error message I saw wasn't mentioned there. But if it indeed is about the same thing, than fine! :-)