Univention Bugzilla – Bug 52919
IPv6 support in /etc/hosts broken
Last modified: 2021-03-24 15:58:57 CET
Created attachment 10645 [details] Proposed patch IPv6 support in /etc/hosts broken None is not comparable with empty string: """ Multifile: /etc/hosts Traceback (most recent call last): File "<stdin>", line 41, in <module> TypeError: '<' not supported between instances of 'str' and 'NoneType' """
patch looks good to me. You can apply it from my view.
(In reply to Florian Best from comment #1) > patch looks good to me. You can apply it from my view. Thanks! commited [5.0-0 9b723c12da] Bug #52919: fix traceback in hosts.d/00-base
Backported to 4.4-7 errata [4.4-7 dfe04dac8c] Bug #52919: fix traceback in hosts.d/00-base with python3 [4.4-7 4ee48aac14] Bug #52919: changelog [4.4-7 e667d7f7c0] Bug #52919: yaml [4.4-7 a3c9e98d32] Bug #52919: yaml Package: univention-base-files Version: 8.0.1-2A~4.4.0.202103171130 Branch: ucs_4.4-0 Scope: errata4.4-7
OK: UCS 4.4 ucr set interfaces/eth0/ipv6/default/address=2001:470:71e6:0027::3 interfaces/eth0/ipv6/default/prefix=48 interfaces/eth0/ipv6/default/hosts=ipv6host interfaces/eth0/host=ipv4host OK: UCS 5.0 OK: YAML
<https://errata.software-univention.de/#/?erratum=4.4x934>