<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Thomas &amp; everyone,<br>
<blockquote cite="mid:18001.52801.191563.228464@informatik.uni-koeln.de"
 type="cite">
  <pre wrap="">    &gt; But now, when performing an installation, for a strange reason cfagent
    &gt; just ignores the copy section. When I stopped the FAI install just
Mmm. The best would be to come into IRC #fai on oftc and we will try to
solve the problem online. Did you use cfengine 1 or 2 with sarge?
  </pre>
</blockquote>
Before, the script was working on cfengine1.7 on FAI 2.7(?) on Sarge.
Now, I'm migrating our scripts to a new server based on cfengine2 and
FAI 3.1.8, which come with Debian Etch.<br>
<blockquote cite="mid:18001.52801.191563.228464@informatik.uni-koeln.de"
 type="cite">
  <pre wrap="">Any error/log messages? 
  </pre>
</blockquote>
I've turned on cfagent to be verbose, and during copy nothing actually
happens:<br>
<br>
<blockquote>
  <address>*********************************************************************</address>
  <address>&nbsp;Main Tree Sched: copy pass 1 @ Tue May 22 07:14:08 2007</address>
  <address>*********************************************************************</address>
  <address><br>
  </address>
  <address>*********************************************************************</address>
  <address>&nbsp;Main Tree Sched: editfiles pass 1 @ Tue May 22 07:14:08 2007</address>
  <address>*********************************************************************</address>
  <address><br>
Begin editing /tmp/target/etc/fstab</address>
</blockquote>
On the other had, after almost all of the action is done, I have some
"Checking" messages:<br>
<blockquote>
  <address>Checking for potential rule:: Copy
&lt;/var/lib/fai/config/files/click/linux-2.6.19.2-click070516.tar.bz2&gt;
/ any</address>
  <address><br>
*********************************************************************</address>
  <address>&nbsp;Main Tree Sched: copy pass 2 @ Tue May 22 07:14:16 2007</address>
  <address>*********************************************************************</address>
  <address><br>
Checking for potential rule:: Copy
&lt;/var/lib/fai/config/files/click/linux-2.6.19.2-click070516.tar.bz2&gt;
/ any</address>
  <address><br>
*********************************************************************</address>
  <address>&nbsp;Main Tree Sched: editfiles pass 2 @ Tue May 22 07:14:16 2007</address>
  <address>*********************************************************************</address>
  <address><br>
Checking for potential rule:: Copy
&lt;/var/lib/fai/config/files/click/linux-2.6.19.2-click070516.tar.bz2&gt;
/ any</address>
</blockquote>
which I don't understand.<br>
<blockquote cite="mid:18001.52801.191563.228464@informatik.uni-koeln.de"
 type="cite">
  <pre wrap="">
    &gt; Would anyone have a hint why the manually executed cfagent file does
    &gt; work, and it doesn't when processing it through the FAI install?
Maybe a class is not defined. Try to put this code into the any::
section of cfagent.
  </pre>
</blockquote>
It's already in the any section of cfagent:<br>
<blockquote>
  <address>copy:</address>
  <address>&nbsp;&nbsp; any::</address>
  <address>&nbsp;&nbsp;&nbsp; ### The files to get click up and running</address>
  <address>&nbsp;&nbsp;&nbsp; ${files}/click/linux-2.6.19.2-click070516.tar.bz2&nbsp;&nbsp;&nbsp;
dest=${target}/usr/src/linux-2.6.19.2-click070516.tar.bz2</address>
  <address>&nbsp;&nbsp;&nbsp; m=644 o=root g=root</address>
  <address>&nbsp;&nbsp;&nbsp; ${files}/click/click070516.tar.bz2&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
dest=${target}/usr/src/click070516.tar.bz2</address>
  <address>&nbsp;&nbsp;&nbsp; m=644 o=root g=root</address>
  <address>&nbsp;&nbsp;&nbsp; ${files}/click/click_cvs-070516-1.deb&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
dest=${target}/usr/src/click_cvs-070516-1.deb</address>
  <address>&nbsp;&nbsp;&nbsp; m=644 o=root g=root<br>
  </address>
</blockquote>
is the part that doesn't seem to do what it should.<br>
<address><br>
</address>
Regards,<br>
Andy Van Maele<br>
</body>
</html>