Univention Bugzilla – Full Text Bug Listing |
Summary: | interfaces/primary should place the interface IP first in /etc/hosts | ||
---|---|---|---|
Product: | UCS | Reporter: | Janis Meybohm <meybohm> |
Component: | Network | Assignee: | Felix Botner <botner> |
Status: | CLOSED FIXED | QA Contact: | Arvid Requate <requate> |
Severity: | minor | ||
Priority: | P3 | CC: | botner, walkenhorst |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.3-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 6: Setup Problem: Issue for the setup process |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 5: Blocking further progress on the daily work |
User Pain: | 0.171 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Workaround is available | |
Max CVSS v3 score: |
Description
Janis Meybohm
2013-02-12 09:24:36 CET
This is a potential problem for all installations with more than one interface -> ucr get interfaces/ens3/address 192.168.152.32 -> ucr get interfaces/ens6/address 169.254.93.50 -> ucr get interfaces/primary ens3 With this setup (interfaces/primary has been set automatically during the installation) i get the following /etc/hosts -> more /etc/hosts 192.168.152.32 slave.test.local slave 169.254.93.50 slave.test.local slave Now the system resolve its own ip to "169.254.93.50", which is not used by samba -> samba-tool drs showrepl Failed to connect host 169.254.93.50 on port 135 - NT_STATUS_CONNECTION_REFUSED Failed to connect host 169.254.93.50 (slave.test.local) on port 135 - NT_STATUS_CONNECTION_REFUSED. Failed to connect host 169.254.93.50 on port 49152 - NT_STATUS_CONNECTION_REFUSED Failed to connect host 169.254.93.50 (slave.test.local) on port 49152 - NT_STATUS_CONNECTION_REFUSED. Default-First-Site-Name\SLAVE DSA Options: 0x00000001 DSA object GUID: 9b98fb31-f2d8-4168-acef-62384b7a02db This breaks the update tests. Workaround: Set host entry for this interface to a dummy value ucr set interfaces/ens6/hosts="dummy.name dummy" once this is fixed, remove the workaround in test/scenarios/install-testing/samba-env.cfg 117250f3654829666ba8b171468fc8b494952217 - univention-base-files ensure that interfaces/primary is first entry in /etc/hosts also removed workaround in samba install test, acb95c9433eb93615fbaef4c2eeaa31c77dfb449 I think primary_entry also needs to be a list, because the primary interface may have an IPv4 and a IPv6 address assigned simultaneously. (In reply to Arvid Requate from comment #5) > I think primary_entry also needs to be a list, because the primary interface > may have an IPv4 and a IPv6 address assigned simultaneously. ok, fixed, print both, ipv4 and ipv6, primary entries first Ok. |