Bug 849795
| Summary: | csync2 does not use TLS | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Simon Piette <piette.simon> | ||||
| Component: | csync2 | Assignee: | Angus Salkeld <asalkeld> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | asalkeld, sdake | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-08-26 00:23:55 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: | |||||||
| Attachments: |
|
||||||
Simon, if you want you can apply for commit permission (I'll ack it) so you can apply the patch. https://admin.fedoraproject.org/pkgdb/acls/name/csync2 I can't apply for commit permission, I'm not in the packager group. I'm willing to be sponsored though ; ) In the meanwhile, I put a patched copy on gitorious: https://www.gitorious.org/spiette/fedora-csync2 I've also change configure.ac so the feature is actually compiled in. OK, well thanks for working on it. I'll apply your patch & build. csync2-1.34-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/csync2-1.34-9.fc18 csync2-1.34-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/csync2-1.34-9.fc17 Package csync2-1.34-9.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing csync2-1.34-9.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12442/csync2-1.34-9.fc18 then log in and leave karma (feedback). As mentionned at bodhi:
GNUTLS is not activated:
$ strings /usr/sbin/csync2 | grep -i ssl
This csync2 server is built without SSL support.
This should be:
$ strings /usr/sbin/csync2 | grep activating_ssl
OK (activating_ssl).
0001-Fix-gnutls-configure.ac-section.patch has to be modified:
s/HAVE_GNUTLS/HAVE_LIBGNUTLS/
Is it possible to push this path up to F16 and EPEL{5,6}?
csync2-1.34-10.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/csync2-1.34-10.fc17 csync2-1.34-10.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/csync2-1.34-10.fc18 csync2-1.34-8.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/csync2-1.34-8.fc16 Simon I haven't ever packaged csync2 for EPEL. I'll suggest get sponsored and you can do help maintain csync. csync2-1.34-10.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. csync2-1.34-8.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. csync2-1.34-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 605791 [details] Makefile.am fix for gnutls Description of problem: csync2 can needs TLS for authentication between server and client. Although the package require gnutls and friends, it doesn't get used at compilation time. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. yum install csync2 2. ldd /usr/sbin/csync2 | grep gnutls Actual results: "" Expected results: libgnutls.so.26 => /usr/lib64/libgnutls.so.26 (0x0000003984c00000) Additional info: Makefile.am is missing 2 lines (see attachement): AM_CFLAGS += @LIBGNUTLS_CFLAGS@ AM_LDFLAGS += @LIBGNUTLS_LIBS@ Applyling attached patch will fix the problem.