<HTML><HEAD><META content="text/html; charset=UTF-8" http-equiv="Content-Type"></HEAD><BODY>In my case all of my synced nodes had the bad ownership. After changing the ownership back to the correct value on one node, csync correctly fixed it on the rest of the nodes, no problem.<BR>
<BR>
In my case, the file with the bad ownership was one that was created by a web application. After discovering this problem, I caused the application to change the file again and the correct ownership was observed, so I don't think it's an application problem, at least not in my case.<BR>
<BR>
Roland van Laar wrote:<BR>
<blockquote type="cite"><BR>
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 <BR>
are on the host where the<BR>
file was put. So I didn't suspect csync, but the application doing the <BR>
writing.<BR>
<BR>
Roland<BR>
<BR>
On 17-07-17 15:01, Aristedes Maniatis wrote:<BR>
<blockquote type="cite"><BR>
After years of reliable service, csync2 2.0 did exactly that for me just last week. One file suddenly owned by root.<BR>
Ari<BR>
<BR>
<BR>
On 17/7/17 10:32PM, Kevin Cackler wrote:<BR>
<blockquote type="cite"><BR>
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.<BR>
<BR>
Mark Hodge wrote:<BR>
<blockquote type="cite"><BR>
Hi,<BR>
<BR>
I've recently setup a csync cluster between 3 nodes and although the<BR>
ring model works ok, it obviously fails when the middle server (node<BR>
2) is offline. Therefore I've been trying to get a working config that<BR>
is something like this:<BR>
<BR>
node1 =&gt;&nbsp; node2 + node3<BR>
node2 =&gt;&nbsp; node1 + node3<BR>
node3 =&gt;&nbsp; node1 + node2<BR>
<BR>
So at least if node2 is offline, node1+node3 are still syncing.<BR>
<BR>
Is this the best way to achieve this? using "master (slave)" pairs?<BR>
<BR>
I ended up putting csync on all nodes in a cron every minute (lsync<BR>
would crash occasionally) when csync returned errors.<BR>
<BR>
I got lots of "Database is busy, sleeping a sec" errors, which I<BR>
presumed was because csync was running at the same time on each node<BR>
and causing db locks. So I staggered them, at 0, 20 and 40 sec in the<BR>
minute which got rid of the "busy" errors.<BR>
<BR>
However, occasionally I will get random files appear one one or more<BR>
nodes owned by "root" with perms "rw" only for owner. This means<BR>
standard users cannot access these files. I suspect that csync is<BR>
somehow failing to set uid/gid/perms after the copy.<BR>
<BR>
How can this happen?<BR>
<BR>
Mark.<BR>
<BR>
_______________________________________________<BR>
Csync2 mailing list<BR>
Csync2@lists.linbit.com<BR>
http://lists.linbit.com/mailman/listinfo/csync2<BR>
<BR>
<BR>
_______________________________________________<BR>
Csync2 mailing list<BR>
Csync2@lists.linbit.com<BR>
http://lists.linbit.com/mailman/listinfo/csync2<BR>
</blockquote><BR>
</blockquote><BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
Csync2 mailing list<BR>
Csync2@lists.linbit.com<BR>
http://lists.linbit.com/mailman/listinfo/csync2<BR>
</blockquote><BR>
<BR>
<BR>
_______________________________________________<BR>
Csync2 mailing list<BR>
Csync2@lists.linbit.com<BR>
http://lists.linbit.com/mailman/listinfo/csync2</BODY></HTML>