Univention Bugzilla – Full Text Bug Listing |
Summary: | get_notifier_id.py fails on IPv6 systems. | ||
---|---|---|---|
Product: | UCS | Reporter: | Bastian Reitemeier <reitemeier> |
Component: | Listener (univention-directory-listener) | Assignee: | Philipp Hahn <hahn> |
Status: | CLOSED FIXED | QA Contact: | Arvid Requate <requate> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, hahn, hupertz, reitemeier, schwardt |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.1-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Attachments: | proposed patch |
Description
Bastian Reitemeier
2015-10-09 13:41:47 CEST
Created attachment 7250 [details]
proposed patch
I propose the attached patch, which uses socket.create_connection(), which is higher level than socket.socket().connect(), and is able to detect the correct protocol version. Tested (by hand) on an ipv4 and an ipv6 setup. This bug breaks all ucs-test scripts in IPv6 environments using wait_for_replication. r69890 | Bug #39509 UDL: Add IPv6 support for get_notifier_id.py Package: univention-directory-listener Version: 10.0.0-11.315.201606071717 Branch: ucs_4.1-0 Scope: errata4.1-2 r69910 | Bug #22383,Bug #30227,Bug #30263,Bug #34324,Bug #34507,Bug #34738,Bug #3490,Bug #38696,Bug #39509,Bug #40600,Bug #41261: UDL YAML univention-directory-listener.yaml r69891 | Bug #39509 UDL: autopep8 See Bug 28232 Comment 3. (In reply to Arvid Requate from comment #6) > See Bug 28232 Comment 3. r71061 | Bug #39509 UDL: Make tab-lovers happy again Code: review: Ok Advisory: Ok |