[Bug 2499] New: rsync fails to exit when run from an environment with a signal mask

samba-bugs at samba.org samba-bugs at samba.org
Sun Mar 20 18:57:47 GMT 2005


           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 at samba.org
        ReportedBy: agaffney at gentoo.org
         QAContact: rsync-qa at 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

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.

More information about the rsync mailing list