Bug 1231312

Summary: Update request
Product: [Fedora] Fedora EPEL Reporter: Piotr Gbyliczek <peemhq>
Component: lsyncdAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: filip, lkundrak, martin, pwouters, scenek, troxor0
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lsyncd-2.1.5-0.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 18:38:41 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 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.