Hello Antonio, Because the variables have different names they will never be passed to the daemon startup line.
The init script looks at: $CFMONITORD_ARGS $CFSERVERD_ARGS $CFEXECD_ARGS The file /etc/default/cfengine3 defines the variables: CFMONITORD_OPTS CFSERVERD_OPTS CFEXECD_OPTS Please notice ".._OPTS" insteads of ".._ARGS". Patch for /etc/default/cfengine3 attached. Cheers, Geert On Mon, Jan 3, 2011 at 22:20, Antonio Radici <anto...@dyne.org> wrote: > tag 602404 +unreproducible moreinfo > thanks > > Hi, > can you please clarify? All files in /etc/default/<daemoname> have variable > without the $, that's because when you include the file in bash with the . > operator the variables are imported this way. > > In the same way you modify path with > export PATH=bla > > and access PATH with: > echo $PATH > > Maybe there is something that I'm misunderstanding? Can you please attach the > proposed patch and explain what it is suppsoed to fix? > > Thanks a lot! > > Cheers > Antonio >
--- cfengine3.orig 2011-01-03 22:49:44.357565000 +0100 +++ cfengine3 2011-01-03 22:50:21.465565002 +0100 @@ -14,7 +14,7 @@ RUN_CFSERVERD=0 RUN_CFEXECD=0 -# Additional options that are passed to the daemons -CFMONITORD_OPTS="" -CFSERVERD_OPTS="" -CFEXECD_OPTS="" +# Additional arguments that are passed to the daemons +CFMONITORD_ARGS="" +CFSERVERD_ARGS="" +CFEXECD_ARGS=""