Strange cfagent message ...

Thomas Roth t.roth at gsi.de
Wed May 9 22:10:04 CEST 2007


Hello Ralf,

I get these messages after re-installing machines that had prior contact 
to the cfengine server. Deleting the key on the server 
(cfengine-reset-key <clientname>) helps against 'empty actionsequences'. 
That much for helpful error messages ...
You might also want to try more options in your shebang, such as: 
#!/usr/sbin/cfagent -qvKf

Regards,
Thomas


Ralf Mattes wrote:
> Hello list,
> 
> after upgrading from FAI2 to FAI3.1 (on Ubuntu Fesity) I changed my 
> cfengine scripts to be run by cfagent (after some googling arround).
> No I end up with the following messages in cfagent.log:
> 
> =====   cfagent: FLAPTOP/40-misc   =====
> cfengine:FlapTop-04::0: Warning: actionsequence is empty 
> cfengine:FlapTop-04::0: Warning: perhaps cfagent.conf/update.conf have
> not yet been set up?
> FLAPTOP/40-misc      OK.
> =====   cfagent: FLAPTOP/72-misc   =====
> cfengine:FlapTop-04::0: Warning: actionsequence is empty 
> cfengine:FlapTop-04::0: Warning: perhaps cfagent.conf/update.conf have
> not yet been set up?
> FLAPTOP/72-misc      OK.
> 
> And it looks as if none of the actions where performed. Here's 72-misc:
> 
> #!/usr/sbin/cfagent -f
> 
> control:
>    any::
>    actionsequence = ( editfiles )
>    EditFileSize = ( 30000 )
> 
> editfiles:
>    any::
>         { ${target}/etc/X11/gdm/gdm.conf
>           ReplaceAll "^GraphicalTheme=.*" With
> "GraphicalTheme=FlapGreeter"
>         }
> 
> 
> What am I missing here?
> 
>  TIA Ralf Mattes
> 
> 
> 
> 
> 



More information about the linux-fai mailing list