<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Same here. <br>
      There isn't a pattern I could deduce. <br>
      <br>
      The only weird thing that happened was that the root.root
      permissions are on the host where the <br>
      file was put. So I didn't suspect csync, but the application doing
      the writing.<br>
      <br>
      Roland<br>
      <br>
      On 17-07-17 15:01, Aristedes Maniatis wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7510dc71-0961-c265-6e2c-1549ad869cea@ish.com.au">
      <pre wrap="">After years of reliable service, csync2 2.0 did exactly that for me just last week. One file suddenly owned by root.
Ari


On 17/7/17 10:32PM, Kevin Cackler wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Funnily enough, we are also experiencing this issue with the root owned files. Randomly, and without any definable pattern, so far as we can tell, we'll get a file that suddenly is owned by root:root with rw permissions and we have to go in and correct the permissions. So far we haven't been able to nail down the cause of this.

Mark Hodge wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
Hi,

I've recently setup a csync cluster between 3 nodes and although the
ring model works ok, it obviously fails when the middle server (node
2) is offline. Therefore I've been trying to get a working config that
is something like this:

node1 =&gt; node2 + node3
node2 =&gt; node1 + node3
node3 =&gt; node1 + node2

So at least if node2 is offline, node1+node3 are still syncing.

Is this the best way to achieve this? using "master (slave)" pairs?

I ended up putting csync on all nodes in a cron every minute (lsync
would crash occasionally) when csync returned errors.

I got lots of "Database is busy, sleeping a sec" errors, which I
presumed was because csync was running at the same time on each node
and causing db locks. So I staggered them, at 0, 20 and 40 sec in the
minute which got rid of the "busy" errors.

However, occasionally I will get random files appear one one or more
nodes owned by "root" with perms "rw" only for owner. This means
standard users cannot access these files. I suspect that csync is
somehow failing to set uid/gid/perms after the copy.

How can this happen?

Mark.

_______________________________________________
Csync2 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/csync2">http://lists.linbit.com/mailman/listinfo/csync2</a>


_______________________________________________
Csync2 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/csync2">http://lists.linbit.com/mailman/listinfo/csync2</a>
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Csync2 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/csync2">http://lists.linbit.com/mailman/listinfo/csync2</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>