Bug 45120 - univention-fix-ucr-dns fails with not default gateway
univention-fix-ucr-dns fails with not default gateway
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-1-errata
Assigned To: Philipp Hahn
Felix Botner
Depends on:
  Show dependency treegraph
Reported: 2017-08-02 11:26 CEST by Philipp Hahn
Modified: 2017-08-09 16:57 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
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:


Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-08-02 11:26:19 CEST
RTNETLINK answers: Network is unreachable
Traceback (most recent call last):
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 400, in <module>
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 70, in main
    need_fixing = get_forwarders(forwarders, ucr)
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 165, in get_forwarders
    if is_self(fwd):
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 390, in is_self
    out = check_output(cmd, env=env)
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['ip', 'route', 'get', '']' returned non-zero exit status 2
Comment 1 Philipp Hahn univentionstaff 2017-08-02 11:33:39 CEST
r81687 | Bug #45120 DNS: Handle not default gateway set

Package: univention-server
Version: 12.0.0-11A~
Branch: ucs_4.2-0
Scope: errata4.2-1

r81688 | Bug #45120 DNS: Handle not default gateway set YAML
Comment 2 Felix Botner univentionstaff 2017-08-03 17:32:37 CEST
OK - univention-fix-ucr-dns withour default gw
Comment 3 Arvid Requate univentionstaff 2017-08-09 16:57:27 CEST