[Csync2] 2-node masters and root-owned files

Lars Ellenberg lars.ellenberg at linbit.com
Tue Aug 8 11:59:34 CEST 2017


On Tue, Aug 08, 2017 at 11:04:49AM +1000, Aristedes Maniatis wrote:
> On 8/8/17 10:06AM, Lars Ellenberg wrote:
> > but in this case, until proven otherwise,
> > I suspect you have some git command on the other node
> > running as root, and updating the index file there.
> 
> Hi Lars
> 
> I know you really need some detailed logs to understand the problem,
> however I can confirm anecdotally that it has happened for me
> recently. That is, random files owned by root instead of the correct
> user.

That's why I said "in this case" :-)

"similar" symptoms don't necessarily imply same root causes.

> For me, I have three nodes and syncing happening in all directions and
> use -B. I have probably 10,000 file operations per day and I've seen
> the problem happen maybe twice in four months. So logs are going to be
> very hard to get for you.

Your case sounds more like your csync2 connection is interrupted
at a very "inconvenient" time...

> Sorry I can't be of more direct help, but if I find a way to make it
> happen more frequently then I'll post here.

Thanks,

-- 
: Lars Ellenberg
: LINBIT | Keeping the Digital World Running
: DRBD -- Heartbeat -- Corosync -- Pacemaker
: R&D, Integration, Ops, Consulting, Support

DRBD® and LINBIT® are registered trademarks of LINBIT


More information about the Csync2 mailing list