New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clsync ignores SIGTERM #7
Comments
How long did you wait? Also can you show output of "du -ms /root/scripts", "find /root/scripts -type f | wc -l" and "find /root/scripts | wc -l"? |
For half an hour. -w2 -t2 -p options doesn't affect this. du -ms /root/scripts/ find /root/scripts -type f | wc -l find /root/scripts | wc -l |
SIGINT is also ignored. Looks like some bug in the signal processing code. |
Output of: |
Cannot repeat the bug. Running with the same options and it works :( Hm. Are you able to give me the "/root/scripts" dir? You can encrypt it with PGP. My PGP key is 0x8E30679C, as you already know, :). If you're unable to provide me with the "scripts" dir, can you run clsync with "-DDD" option and copy the log somewhere (e.g. to http://pb.campus.mephi.ru/)? |
Fixed in: afe5e83 |
I forgot about a bug in that part of code. I was getting a infinite wait if tv_sec is incremented. So I was have to temporary remove the increment. But I also forgot to comment about this problem in the code and in the TODO. But now there's no problem with increment, and it's required to make the code work well... so it's returned. |
It's not fully fixed, now we have a segfault on exit. |
It's another issue :) |
Do you want me to open another bug? |
If you feel like it :). I just don't have enough information to open the issue at the moment. I'll continue to work on clsync tomorrow. |
Strange the latest clsync doesn't segfault on exit anymore. This is good, but is unclear why. |
Minimal sample:
/usr/bin/clsync --dir-lists /tmp/clsync -RR /root/scripts /usr/bin/rsync /etc/clsync/rules /root/test
/root/scripts/: just some files with several dirs
/etc/clsync/rules:
+.
Ignores SIGTERM, dies only on SIGKILL.
The text was updated successfully, but these errors were encountered: