1. 13 May, 2015 2 commits
  2. 12 May, 2015 1 commit
  3. 11 May, 2015 4 commits
    • redmine authored
    • Fixes: https://github.com/xaionaro/clsync/issues/121
      redmine authored
    • Related: https://github.com/xaionaro/clsync/issues/124
      redmine authored
    • Clsync uses effective pid of "nobody" by default. In turn there's
      no permission to create new files in /var/run on some systems under
      the "nobody". So this patch uses "root" to create and fchown() the
      file.
      
          Debug3 (pid: 19860; thread: 0x7f606105db40): main(): Trying to drop effective gid to 65533
          Debug3 (pid: 19860; thread: 0x7f606105db40): main(): Trying to drop effective uid to 65534
          Debug1 (pid: 19860; thread: 0x7f606105db40): main(): / [/] (0xf7eed0) -> rsync://********@**********/******* [***] (0xf7ba30)
          Warning (pid: 19860; thread: 0x7f606105db40): main(): Directory "/dev/shm/clsync" doesn't exist. Creating it.
          Debug2 (pid: 19860; thread: 0x7f606105db40): main(): Trying to open the pidfile "/var/run/clsync-backup.pid"
          Error (pid: 19860; thread: 0x7f606105db40): main(): Cannot open file "/var/run/clsync***.pid" to write a pid there (13: Permission denied)
          Debug3 (pid: 19860; thread: 0x7f606105db40): main(): Current errno is 13.
          Error (pid: 19860; thread: 0x7f606105db40): main(): Cannot unlink pidfile "/var/run/clsync***.pid" (2: No such file or directory)
      redmine authored
  4. 08 May, 2015 2 commits
  5. 03 Apr, 2015 2 commits
  6. 29 Mar, 2015 4 commits
  7. 26 Mar, 2015 1 commit
    • If errno is not reset before strtol call, it may trigger false str
      to long conversation error, e.g. with absent /etc/{group,passwd}:
      
        # chroot /root/clsync /bin/clsync -M direct -W a -D b -r 10 -S /sbin/echo -t 1 -w 1 --secure-splitting
        Error: argument "10" can't be parsed as a number (2: No such file or directory)
      Andrew Savchenko authored
  8. 14 Mar, 2015 4 commits
  9. 20 Feb, 2015 2 commits
  10. 28 Jan, 2015 2 commits
  11. 15 Jan, 2015 1 commit
  12. 24 Dec, 2014 4 commits
  13. 02 Dec, 2014 1 commit
  14. 24 Oct, 2014 2 commits
  15. 23 Oct, 2014 1 commit
  16. 22 Oct, 2014 1 commit
  17. 21 Oct, 2014 1 commit
  18. 08 Oct, 2014 2 commits
  19. 06 Oct, 2014 1 commit
  20. 30 Sep, 2014 1 commit
  21. 29 Sep, 2014 1 commit