https://bugzilla.samba.org/show_bug.cgi?id=3554

           Summary: Second copy of same rsync daemon should notice pid file
                    and quit
           Product: rsync
           Version: 2.6.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


If two rsync daemons using the same pid file are started, the second one should
notice the pid file and quit.  Right now, the second daemon overwrites the pid
file, fails to listen on the port, and then removes the pid file, leaving the
first daemon running without a pid file (harder to kill automatically).  The
fix is as simple as adding O_EXCL to the do_open(lp_pid_file(), ...) call in
clientserver.c.


-- 
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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to