Package installation of RPMs - Too many arguments in embedded script

2006-07-14 Thread brett.dellegrazie
Hi,   Firstly I'd like to say nice job on cfengine.  It is an excellent tool.   I'm using cfengine 2.1.20 (DAG rpm) on CentOS 4.3.   I'm trying to install a large number of RPMS for some 3rd party apps via the 'package' mechanism. I'm using Yum so my rpm install command is:   RPMInstallCommand

RE: Package installation of RPMs - Too many arguments in embedded script

2006-07-14 Thread brett.dellegrazie
Dear Steve, Thanks for that. It does appear that it's cfengine imposing the limit way before it gets anywhere near yum. Looking at the source the issue is in popen.c where it imposes the limit of CF_MAXSHELLARGS (which is set to 30). I can see why this is done (to limit memory/stack usage) but i

RE: Package installation of RPMs - Too many arguments in embedded script

2006-07-14 Thread brett.dellegrazie
Dear Mark, It's not a question of how big - someone will always exceed the limit :) It's the technique employed. I appreciate you are trying to reuse secure code by enforcing an arbitrary limit on popen calls but the list itself is internally constructed and therefore should be considered secure

RE: Package installation of RPMs - Too many arguments in embeddedscript

2006-07-14 Thread brett.dellegrazie
Dear Ed, All I can say is: THANKS! I may hack it around a bit but if I do that I will post it back to the group. Best Regards, Brett -Original Message- From: Ed Brown [mailto:[EMAIL PROTECTED] Sent: 14 July 2006 16:20 To: Brett Delle Grazie Cc: help-cfengine@cfengine.org Subject: Re