samba-bugs@samba.org
2005-Mar-20 19:01 UTC
[Bug 2499] New: rsync fails to exit when run from an environment with a signal mask
https://bugzilla.samba.org/show_bug.cgi?id=2499
Summary: rsync fails to exit when run from an environment with a
signal mask
Product: rsync
Version: 2.6.3
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: agaffney@gentoo.org
QAContact: rsync-qa@samba.org
I've encountered the problem where running rsync (client) from a child
thread in
python causes rsync to complete the sync but never exit. After a lot of
debugging and frustration, it seems that python blocks all signals for any child
threads it creates. This has the side effect of blocking signals for all
processes that are fork()d and/or exec()d from that child thread.
While I would consider this instance a python bug (that is being fixed), it
might still be a good idea for rsync to defensively set a proper signal mask
since it relies on signals to communicate between the parent and child rsync
process.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Possibly Parallel Threads
- [Bug 2499] rsync fails to exit when run from an environment with a signal mask
- DO NOT REPLY [Bug 2499] rsync fails to exit when run from an environment with a signal mask
- [Bug 2583] New: rsync fails with "authentication failure"
- DO NOT REPLY [Bug 7959] New: erro occoure ! rsync can't auto exit
- DO NOT REPLY [Bug 6694] New: rsync -A drops mask from ACL
