[Csync2] How to contribute to csync2 [Was: Using Csync2 when hosts are not resolved by dns]

2012-10-27 Thread Lars Ellenberg
format-patch -k origin/master and then attaching the generated diffs to some email yourself. or by git send-email --dry-run --to csync2@lists.linbit.com origin/master (leave off the dry-run, if that in fact did what you intended) Thanks, Lars -- : Lars Ellenberg : LINBIT | Your Way

Re: [Csync2] Syntax error on lock-timeout

2013-05-27 Thread Lars Ellenberg
On Sun, May 26, 2013 at 07:55:49PM -0700, Gary E. Miller wrote: Yo Francisco! On Sun, 26 May 2013 12:23:10 -0400 Francisco Reyes li...@natserv.net wrote: On 05/26/2013 02:41 AM, Gary E. Miller wrote: And got an error: Database backend is exceedingly busy = Terminating (requesting

Re: [Csync2] prefix works except when file is specified

2014-07-10 Thread Lars Ellenberg
On Thu, Jul 10, 2014 at 01:53:20AM -0400, dlo wrote: Lars- I see it's not so far off, but definitely not a drop-in replacement (already ran into some problems). It worries me to make so many changes to a system that's been working so well for so long... is there really no hope for getting

Re: [Csync2] lock-timeout

2014-07-18 Thread Lars Ellenberg
, and documents the lock-timeout configuration option. Lars http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=cfgfile_scanner.l#l69 http://git.linbit.com/gitweb.cgi?p=csync2.git;a=blob;f=doc/csync2_paper.tex#l451 Oops, typo there, s/wor/for/ ;-) -- : Lars Ellenberg : LINBIT | Your Way

Re: [Csync2] Dirty list get larger and larger

2015-11-02 Thread Lars Ellenberg
oblem but not how csync2 handles the database of > dirty files. > > Interestingly is that when csync2 2.0 sync with csync2 1.34, the dirty > table empties accordingly with message: > > File is already up to date on peer. > > It does not matter which computer I run cs

Re: [Csync2] Younger/older test tied

2015-11-02 Thread Lars Ellenberg
nger" would be changed to "younger", but if same time stamp, "first" (the guy who first called csync2 --update wins) maybe that should be made explicit, though, rather than implicitly by only changing less-than to less-than-or-equal. At least it deserves some chang

Re: [Csync2] Patchwork to running on musl libc and some cleanups

2015-10-12 Thread Lars Ellenberg
it here. Best place to send patches for csync2. Thanks, looks innocent enough ;-) > - xxprintf(":type=reg:size=%Ld", (long long)st->st_size); > + xxprintf(":type=reg:size=%lld", (long long)st->st_size); Cheers, -- : Lars Ellenberg :

Re: [Csync2] Logfile Issues

2015-09-28 Thread Lars Ellenberg
. > > Any help would be greatly appreciated. If you want csync2 to log what it does, you have to increase its "verbosity" (add -v...), and possibly tell it to use syslog. it usually should redirect to syslog anyways, if it detects that it has no tty. -- : Lars Ellenberg : http:

Re: [Csync2] Csync -M doesn't work as espected

2015-11-23 Thread Lars Ellenberg
notice: alice.demo# csync2 -cvr / Marking file as dirty: /csync2/demo/something ask it again: alice.demo# csync2 -M chary alice.demo bob.demo/csync2/demo/something works as expected (for me). What did you expect? -- : Lars Ellenberg : http://www.LINBIT.com | Your Way to High Ava

Re: [Csync2] [patch] document -N

2016-04-27 Thread Lars Ellenberg
On Wed, Apr 27, 2016 at 11:43:35AM +1000, Aristedes Maniatis wrote: > Lars Ellenberg wrote: > > > You do realize that there is a git beyond github? > > Yes. I and I know you are only joking. But there are big advantages IMO to > using github. Everyone expects you to be ther

Re: [Csync2] ipv6 problems

2016-04-27 Thread Lars Ellenberg
On Wed, Apr 27, 2016 at 06:49:21PM +1000, Aristedes Maniatis wrote: > On 27/04/2016 11:45am, Aristedes Maniatis wrote: > > On 19/04/2016 9:14pm, Lars Ellenberg wrote: > >> I don't think so. > >> It's supposed to bind to something that is suitable for *both* IPv6 and

Re: [Csync2] Issue with the auto-backup feature. A bug?

2016-05-02 Thread Lars Ellenberg
in some cases. This optional "debug" logging of csync2 is badly grown $swearword_of_choice; actually fixing that might take some time. -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync -- Pacemaker : R, Integration, Ops, Consulting

Re: [Csync2] ipv6 problems

2016-04-20 Thread Lars Ellenberg
On Wed, Apr 20, 2016 at 04:28:26PM +1000, Aristedes Maniatis wrote: > On 19/04/2016 9:14pm, Lars Ellenberg wrote: > > You can tell it to bind to "-N your.node.name". > > If not specified, it will use the "any" address > > (pass a NULL node to getaddrinfo)

Re: [Csync2] How to Ignore a file but keep it in sync

2016-04-20 Thread Lars Ellenberg
On Sun, Apr 03, 2016 at 01:44:08PM +0300, Rabin Yasharzadehe wrote: > I like to monitor a folder for syncing, but to ignore a specific file, > but still sync all the folder if any other file will change. > > e.g > > monitor the folder /tftpboot > ignore the file /tftboot/.git/index > > the file

Re: [Csync2] Csync failing with xinetd, working in standalone mode

2016-09-19 Thread Lars Ellenberg
tty system_u:object_r:getty_exec_t:s0 > /sbin/init system_u:object_r:bin_t:s0 -> > system_u:object_r:init_exec_t:s0 > /usr/sbin/sshd system_u:object_r:sshd_exec_t:s0 > /lib/libc.so.6 system_u:obje

Re: [Csync2] Ignore sockets ...

2016-09-19 Thread Lars Ellenberg
hen be replicated as removal. If you control the placement or naming conventions of those sockets, I'd suggest you put them in a sub directory, or otherwise add an easily excluded prefix/suffix to their name. Cheers, Lars Ellenberg ___ Csync2 mailing

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

2017-08-15 Thread Lars Ellenberg
On Mon, Aug 14, 2017 at 07:00:23AM +0400, Vadim Abdulayev wrote: > Hello. When replying to digests, please change the subject appropriately. (Digest mode on a list that is so low volume as this one is not useful anyways, really.) > All command executed on node1. > > After resync i receive wrong

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

2017-08-08 Thread Lars Ellenberg
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. >

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

2017-08-07 Thread Lars Ellenberg
nection closed. > Finished with 0 errors. and to csync2 the sync looks as if it was ok. debug level logs and maybe even strace from the "receiving" side would be interesting. but in this case, until proven otherwise, I suspect you have some git command on the other node running as ro

Re: [Csync2] csync2 - Reaction to SIGTERM

2017-08-07 Thread Lars Ellenberg
you talking about win32 cygwin cs2monitor? That will "killall" csync2 processes, and then "restart" (rather: recycle) itself. -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync -- Pacemaker : R, Integration, Ops, Consu

Re: [Csync2] 3-node masters and root-owned files

2017-08-07 Thread Lars Ellenberg
On Wed, Aug 02, 2017 at 08:58:05PM -0500, Kevin Cackler wrote: > For those of you guys who are experiencing this issue: I noticed tonight, > after this happened yet again, that one of my files was owned by UID 1012 on > node3. The problem is that that uid does not exist on node3. That uid DOES >

Re: [Csync2] csync_check_del broken under PostgreSQL

2017-10-23 Thread Lars Ellenberg
ith mysql or postgres, so it is very likely that there are a number of shortcomings burried in there, I'd expect "very long path names" to show problems as well, where "very long" may be simply "longer than the default supported unique key length on text

Re: [Csync2] csync_check_del broken under PostgreSQL

2017-10-31 Thread Lars Ellenberg
On Fri, Oct 27, 2017 at 11:00:14PM +0100, James Le Cuirot wrote: > On Mon, 23 Oct 2017 13:23:51 +0200 > Lars Ellenberg <lars.ellenb...@linbit.com> wrote: > > My locale and collation is entirely en_GB.UTF-8. > > afaik, = < > compare "collate charac

Re: [Csync2] Always marking file as dirty

2017-10-27 Thread Lars Ellenberg
he data base? Tried to run with "LC_ALL=C"? Or whatever else is necessary to tell your data base backend that this is supposed to be a "binary", case sensitive, collation? -- : Lars Ellenberg : LINBIT | Keeping the Digital World Running : DRBD -- Heartbeat -- Corosync

Re: [Csync2] hot add/remove/maintenance host

2017-12-29 Thread Lars Ellenberg
On Wed, Dec 27, 2017 at 01:43:53PM -0800, E-Blokos wrote: > On 12/25/2017 5:34 AM, Lars Ellenberg wrote: > >On Sat, Dec 23, 2017 at 03:38:20AM -0800, E-Blokos wrote: > > > > > > is there any API/CLI command to put a host in maintenance/add/remove > > >

Re: [Csync2] Issues with synced git clones

2017-12-25 Thread Lars Ellenberg
On Thu, Dec 21, 2017 at 02:43:58AM +0100, Dominik George wrote: > What happends is hard to describe, but it looks like the git index gets > broken. The effect is that all nodes in the cluster end up with a broken > state, namely with a lot of untracked files in the repository. Which should be

Re: [Csync2] hot add/remove/maintenance host

2017-12-25 Thread Lars Ellenberg
On Sat, Dec 23, 2017 at 03:38:20AM -0800, E-Blokos wrote: > Hello, > > is there any API/CLI command to put a host in maintenance/add/remove > as hot plug? I'm not sure I understand what you mean by that. But as every help text and man page says: Csync2 will refuse to do anything when a

Re: [Csync2] Issues with synced git clones

2017-12-21 Thread Lars Ellenberg
On Thu, Dec 21, 2017 at 02:43:58AM +0100, Dominik George wrote: > Hi, > > we are having strange issues with syncing directories containing clones > of git repositories. We were using unison before, and it suspiciously > showed the same issues… > > What happends is hard to describe, but it looks