Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 21827

Summary: xargs: environment is too large for exec message on boot up in 2.5.70-mm1
Product: Gentoo Linux Reporter: Andrew Bevitt <andrewbevitt>
Component: New packagesAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild tarball

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
boot.

Reproducible: Only on 2.5.70 kernels. Always

Steps 
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 kernel.org for reporting kernel 
problems. 
Comment 3 Norberto Bensa 2003-05-30 02:17:28 UTC
and with kernel 2.4.20... Are you guy using baselayout 1.8.6.8-r1 ?? 
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 
happens, 
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.
http://forums.gentoo.org/viewtopic.php?t=55496
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 ***