Summary: | large enviroment during emerges and other actils causes xargs to fail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robin Johnson <robbat2> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED LATER | ||
Severity: | critical | CC: | azarah, carpaski, dberkholz, pauldv |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 21438, 23569, 25535, 30900, 31378 |
Description
Robin Johnson
2003-10-22 23:02:19 UTC
I have made a patch and a new ebuild and am ready to commit it. I want to do this soon as I get tons of bugs related to this. As I now know the cause I have no problem with fixing xargs for this. no objections to it here. i've moved the limit to 64kb for xargs on my personal machines, but i'm wondering where we should put the proper limit. I committed 4.1.7-r5 (stable) and 4.1.20-r1 (unstable) with limits of 50k. This indeed is quite arbitrary, but it solves all current problems. However we might want to consider to look at removing fully the broken behaviour from xargs, and make it allocate the buffer it needs. does debian fix this ? or perhaps redhat ? I don't know. I needed a temporary fix rather fast as the stable openoffice-1.1.0 was failing. (When I marked it stable it wasn't an issue yet) I checked Debian, Redhat, Mandrake, and none of them presently include a patch for it. Both Debian and Redhat included patches for it previously, as they seem to have had some other tool that had problems just like portage for us, but they since deprecated those tools and removed the patches (more than a year ago). An big problem was functions.sh from baslayout which due to misbehaving bash did a 'set -a'. I removed this in CVS again - not sure though if my issues will be fixed, but should help here (and one or two other bugs). Not much that portage can do about this... and I'd imagine it's handled. Someone want to determine if it is, and close this? paul, we all set on this now ? There seem to be no problems anymore. I don't know however if that will stay this way. I guess it depends on the environment size increases of portage. I'll mark it later so that we can look into actual fundamental fixes when problems arise. |