Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21827 - xargs: environment is too large for exec message on boot up in 2.5.70-mm1
Summary: xargs: environment is too large for exec message on boot up in 2.5.70-mm1
Status: RESOLVED DUPLICATE of bug 21438
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: (DEPRECATED)
Depends on:
Reported: 2003-05-28 08:19 UTC by Andrew Bevitt
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

ebuild tarball (findutils-4.1.7-r5.tar.gz,1.83 KB, application/x-gzip)
2003-05-28 08:19 UTC, Andrew Bevitt

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bevitt 2003-05-28 08:19:04 UTC
This is a fairly trivial issue and seems to only apply to 2.5.70 kernel users,
but here is a ebuild tar ball that patches the xargs source to stop the error on

Reproducible: Only on 2.5.70 kernels. Always

1) emerge mm-sources-2.5.70-r1 (or other)
2) compile kernel and reboot.

Patch fixes
Stops arg_max being limited to 20 * 1024 and hence allows a larger environment.
Comment 1 Andrew Bevitt 2003-05-28 08:19:45 UTC
Created attachment 12497 [details]
ebuild tarball
Comment 2 Guy 2003-05-28 22:13:01 UTC
This is also a problem with vanilla-sources 2.5.68 on my work machine. I didn't know 
enough to be able to provide useful information so didn't report it. Also, since I'm using 
vanilla-sources, I've already been referenced to for reporting kernel 
Comment 3 Norberto Bensa 2003-05-30 02:17:28 UTC
and with kernel 2.4.20... Are you guy using baselayout ?? 
Comment 4 Andrew Bevitt 2003-05-30 02:59:06 UTC
I for one am using that version of baselayout yes. 
I just recompiled the kernel with an earlier version and then reversed the patch on my sources. 
The result was still the same. Im going to try mm-sources-2.5.70-mm2 now and see what 
Comment 5 Narada Sage 2003-06-04 06:51:04 UTC
The issue is discussed very briefly here on the forums and applies to baselayout.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-06-11 15:05:17 UTC
please try out the patch in bug #22637
Comment 7 Andrew Bevitt 2003-06-11 16:44:18 UTC
Yes that patch works also, the only thing is that here you are only avoiding the issue at boot 
time, the xargs error also occurs during running of several applications that will not read 
settings from bootmisc. 
Comment 8 Jay Pfeifer (RETIRED) gentoo-dev 2003-06-27 14:25:39 UTC

*** This bug has been marked as a duplicate of 21438 ***