Bug 915873 - lsyncd: problem with log rotation
Summary: lsyncd: problem with log rotation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: lsyncd
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Troy C
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-26 16:57 UTC by buyloff
Modified: 2013-10-08 20:39 UTC (History)
3 users (show)

Fixed In Version: lsyncd-2.1.4-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-08 20:39:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.