Univention Bugzilla – Full Text Bug Listing |
Summary: | showrepl WERR_SEM_TIMEOUT due to multiple interfaces | ||
---|---|---|---|
Product: | UCS | Reporter: | Arvid Requate <requate> |
Component: | Samba4 | Assignee: | Stefan Gohmann <gohmann> |
Status: | CLOSED FIXED | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.2-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
URL: | https://bugzilla.samba.org/show_bug.cgi?id=11929 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.103 | Enterprise Customer affected?: | |
School Customer affected?: | Yes | ISV affected?: | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2015072221000236 | Bug group (optional): | Error handling |
Max CVSS v3 score: |
Description
Arvid Requate
2016-04-14 20:20:41 CEST
I filed an upstream bug for this, see URL. Changing Samba would be the best option. Unfortunately, Samba doesn't support it yet. I guess we currently see these errors in Nagios and in our diagnostic checks. So, maybe a SDB article would alleviate the pain of the customers. I think it would be good enough because the systems gives feedback that the error exists and one can change the configuration via UCR. Any other suggestions? Maybe we can check the number of interfaces (similar to what we do for the docker0 interface) somewhere, e.g. in the diagnostic module (which would already show the DRS replication issue). (In reply to Arvid Requate from comment #3) > Maybe we can check the number of interfaces (similar to what we do for the > docker0 interface) somewhere, e.g. in the diagnostic module (which would > already show the DRS replication issue). You mean for a newly installed UCS system we use only the default interface? If we can identify a good default, that would be the best I guess. If not, we should just warn. (In reply to Arvid Requate from comment #5) > If we can identify a good default, that would be the best I guess. If not, > we should just warn. We can: root@master421:~# ucr search interfaces/primary interfaces/primary: eth0 If multiple network interfaces exist on a system, this variable allows configuring the primary network interface. If no value is set, 'eth0' is assumed. root@master421:~# interfaces/primary Ok, we should use that in smb.conf. This would limit the interfaces to exactly one, as intended. Q: But is this set automatically? Or is it up to the admin to know and configure this option? (In reply to Arvid Requate from comment #7) > interfaces/primary > > Ok, we should use that in smb.conf. This would limit the interfaces to > exactly one, as intended. > > Q: But is this set automatically? Or is it up to the admin to know and > configure this option? Not so easy. First of all, I think we shouldn't change already installed systems. If Samba is installed we should configure it in this way: * interfaces/primary is set during the installation but it can be change by the admin later for example via UMC network settings. * samba/interfaces/bindonly should be set to yes by default * samba/interfaces should be set to "lo <interfaces/primary>" by default. The smb.conf will replace <interfaces/primary> with the interface configured in interfaces/primary. * samba/register/exclude/interfaces can be set to docker0 but it would only be used if samba/interfaces/bindonly is set to no or unset Support <interfaces/primary> as a keyword for the UCR variable samba/interfaces has been added. Now, newly installed Samba 4 systems will set samba/interfaces to lo and the primary interface which is represented via interfaces/primary. Thus, Samba will by default only listen on those two interfaces. This can be configured afterwards via samba/interfaces, samba/interfaces/bindonly and samba/register/exclude/interfaces. Fix: https://git.knut.univention.de/univention/ucs/commit/caae9797aaaf66b4e2741ded7fec4aaa582a1d33 YAML: https://git.knut.univention.de/univention/ucs/commit/d8abf9d99e86b3240c38dd015d526591494f1237 OK - update (no samba/interfaces) OK - install, samba/interfaces to lo <interfaces/primary> (or eth0) OK - jenkins tests OK - YAML |