[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rsync
Subject:    DO NOT REPLY [Bug 3554] New: Second copy of same rsync daemon
From:       samba-bugs () samba ! org
Date:       2006-02-25 1:16:01
Message-ID: bug-3554-1042 () https ! bugzilla ! samba ! org/
[Download RAW message or body]

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: wayned@samba.org
        ReportedBy: hashproduct@verizon.net
         QAContact: rsync-qa@samba.org


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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic