<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
p.Preacute, li.Preacute, div.Preacute
        {mso-style-name:"Pr&eacute\,format&eacute\,HTML";
        mso-style-link:"Pr&eacute2\,format&eacute2\,HTML Car2";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.Preacute1
        {mso-style-name:"Pr&eacute1\,format&eacute1\,HTML Car1";
        mso-style-priority:99;
        mso-style-link:"Pr&eacute\,format&eacute\,HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.treeactivetechniquecategoryname
        {mso-style-name:treeactivetechniquecategoryname;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.treeactivetechniquename
        {mso-style-name:treeactivetechniquename;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.sig, li.sig, div.sig
        {mso-style-name:sig;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Arial","sans-serif";
        color:black;}
p.sigsmall, li.sigsmall, div.sigsmall
        {mso-style-name:sigsmall;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Arial","sans-serif";
        color:black;}
span.Preacute2
        {mso-style-name:"Pr&eacute2\,format&eacute2\,HTML Car2";
        mso-style-priority:99;
        mso-style-link:"Pr&eacute\,format&eacute\,HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle33
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Here is an extract of the log :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">/var/rudder/cfengine-community/bin/cf-serverd -v --no-fork<o:p></o:p></p>
<p class="MsoNormal">…<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">rudder> Access control in sync<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">rudder> From (host=emaster7.mondomaine.com,user=root,ip=128.1.21.106)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">rudder> REFUSAL of request from connecting host: (SYNCH 1371112237 STAT /var/rudder/configuration-repository/shared-files/test/withoutvariable)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">rudder> Filename /var/rudder/configuration-repository/shared-files/toto.test.txt is resolved to /var/rudder/configuration-repository/shared-files/toto.test.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">rudder> Found a matching rule in access list (/var/rudder/configuration-repository/shared-files/toto.test.txt in /var/rudder/configuration-repository/shared-files)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">rudder> Host emaster7.mondomaine.com denied access to /var/rudder/configuration-repository/shared-files/toto.test.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">In addition : <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My Directive configuration :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">============ Path of the file to be copied : toto.test.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">============ Destination of the file : /test_rudder/soft/sources/httpd/toto.test.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">============ File comparison : exists<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">============ Permission to apply : none<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My path/file on the rudder server : /var/rudder/configuration-repository/shared-files/toto.test.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My path on the node : /test_rudder/soft/sources/httpd/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My Node hostname is : VM_TESTAPACHE ( ip : 128.1.21.106 )
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My Rudder server hostname  is : VM_RUDDER
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Operation System  :  CentOS release 6.4 (Final)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">/etc/hosts is filled with theses informations on each server<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">There is no iptables and selinux is disabled on each server<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I don’t know where is found « emaster7.mondomaine.com » , I cleared my /etc/resolv.com after the installation of rudder.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">Q : First problem : Are you trying to apply this directive on the policy server ?<o:p></o:p></p>
<p class="MsoNormal">A : No<o:p></o:p></p>
<p class="MsoNormal">Q : Second problem: You have to specify a file as destination, not a directory.  <br>
<span style="color:#1F497D">A : Yes already done (as mentionned on the previous info)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR"> rudder-users-bounces@lists.rudder-project.org
 [mailto:rudder-users-bounces@lists.rudder-project.org] <b>De la part de</b> Vincent Membré<br>
<b>Envoyé :</b> mercredi 12 juin 2013 17:38<br>
<b>À :</b> rudder-users@lists.rudder-project.org<br>
<b>Objet :</b> Re: [rudder-users] Rudder 2.6.2 file copy issue<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello,<br>
<br>
There may be two problems in your configuration of that directive:<br>
<br>
First problem : Are you trying to apply this directive on the policy server ?<br>
If so, this is not working for now, we have already opened a bug : <a href="http://www.rudder-project.org/redmine/issues/3581">
http://www.rudder-project.org/redmine/issues/3581</a> and it's in technical review.<br>
It will be fixed in next version.<br>
<br>
<br>
Second problem: You have to specify a file as destination, not a directory.<br>
When you use a directory as destination, the file is not copied, and permissions are applied to the directory (instead of being applied to only one file)<br>
I'll discuss this behavior with Techniques experts, and open a bug if this is not an expected behavior.<br>
We should at list document that a file is needed.<br>
So you have to use /test_rudder/soft/sources/httpd/test.toto.txt instead of the directory.<br>
<br>
We will fix everything that as soon as possible.<br>
<br>
Does any of those two ideas explain what you encounter ?<br>
<br>
Regards,<br>
<br>
Vincent<br>
<br>
<br>
<br>
Le 12/06/2013 16:20, Nicolas Charles a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello,<br>
<br>
Could you send us verbose output of the server, to help you debug the problem ?<br>
To run the server in verbose mode, you need first to stop the cf-serverd process, then to run<br>
/var/rudder/cfengine-community/bin/cf-serverd -v --no-fork<br>
<br>
Then run the agent on the client, the server should detail why it's not distributing the file<br>
<br>
Regards<br>
Nicolas<br>
<br>
On 12/06/2013 15:54, Prestasit01 wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Any news ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">BR</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR"> Francois
 [<a href="mailto:francois.armand@normation.com">mailto:francois.armand@normation.com</a>]
<br>
<b>Envoyé :</b> mardi 11 juin 2013 16:36<br>
<b>À :</b> Prestasit01<br>
<b>Cc :</b> <a href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><br>
<b>Objet :</b> Re: [rudder-users] Rudder 2.6.2 file copy issue</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 11/06/2013 14:19, Prestasit01 wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;color:windowtext">Hello, </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:windowtext">On V2.6.2 , I got one issue during the file transfert process.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">..... </span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt"><br>
I open the following bug to track your issue: <br>
<a href="http://www.rudder-project.org/redmine/issues/3643">http://www.rudder-project.org/redmine/issues/3643</a></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">-- <br>
Francois</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR">-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont confidentielles. Seul le destinataire expressement vise peut en prendre connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe
 Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
<br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>rudder-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><o:p></o:p></pre>
<pre><a href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a><o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Nicolas CHARLES<o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>rudder-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><o:p></o:p></pre>
<pre><a href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR">--
<o:p></o:p></span></p>
</div>
</div>
-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont
confidentielles. Seul le destinataire expressement vise peut en prendre
connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
</body>
</html>