Bug 915873

Summary: lsyncd: problem with log rotation
Product: [Fedora] Fedora EPEL Reporter: buyloff
Component: lsyncdAssignee: Troy C <troxor0>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: lkundrak, pwouters, troxor0
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: lsyncd-2.1.4-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 20:39:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description buyloff 2013-02-26 16:57:53 UTC
Description of problem:
With logrotate file /etc/logrotate.d/lsyncd lsyncd will restart for every rotate events. But according strace lsyncd make open/close for every operation with log file. So we don't need restart daemon for rotation and in my case we must not because I use lsync for sync more then 3 millions directories.




Version-Release number of selected component (if applicable):
lsyncd-2.1.4-1.el6.x86_64
epel-release-6-8.noarch

Comment 1 Troy C 2013-09-24 23:41:27 UTC
Agreed.

[root@cloud-cent6 ~]# lsof | grep lsyncd | grep log
[root@cloud-cent6 ~]# 

I can try to fix this.

Comment 2 Fedora Update System 2013-09-25 06:16:54 UTC
lsyncd-2.1.4-4.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/lsyncd-2.1.4-4.el6

Comment 3 Fedora Update System 2013-09-25 17:17:21 UTC
Package lsyncd-2.1.4-4.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing lsyncd-2.1.4-4.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11681/lsyncd-2.1.4-4.el6
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-10-08 20:39:02 UTC
lsyncd-2.1.4-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.