Bug 1231312 - Update request
Summary: Update request
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: lsyncd
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-12 16:14 UTC by Piotr Gbyliczek
Modified: 2015-06-29 18:38 UTC (History)
6 users (show)

Fixed In Version: lsyncd-2.1.5-0.el6
Clone Of:
Environment:
Last Closed: 2015-06-29 18:38:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Piotr Gbyliczek 2015-06-12 16:14:41 UTC
Description of problem: 
Lsyncd version 2.1.4 is unable to synchronize group ownership properly.

How reproducible:
Always.


Steps to Reproduce:
1. Attempt to sync folders with following settings : 

sync{
        default.rsyncssh,
        source="/folder",
        host="192.168.0.2",
        targetdir="/folder",
        ssh = {
                port=1022
        },
        rsync     = {
                owner=true,
                _extra={"-g"},
        }
}

Actual results:

Group ownership of the transferred files/directories on target is set to main group of user running lsyncd, root in case of daemon started from sysvinit

Expected results:

With additional parameter in _extra rsync should be preserving group ownership too. 


Additional info:
Lsyncd version 2.1.4 has a bug causing it to ignore  setting to rsync if you specify custom ssh port in the same sync object, among others. This prevents user from having group ownership synced to target location, which right now can be only passed via "_extra" parameter.There is stable version 2.1.5 that seems to be fixing this behaviour (https://github.com/axkibe/lsyncd/blob/master/ChangeLog).

I've build 2.1.5 RPM and seems to be working as expected.

Comment 1 Fedora Update System 2015-06-12 17:20:06 UTC
lsyncd-2.1.5-0.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/lsyncd-2.1.5-0.el6

Comment 2 Fedora Update System 2015-06-13 19:35:38 UTC
Package lsyncd-2.1.5-0.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.5-0.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6680/lsyncd-2.1.5-0.el6
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2015-06-29 18:38:41 UTC
lsyncd-2.1.5-0.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.