univention-domain-join needs to be ported to Ubuntu 22.04 LTS.
A Patch / MR is available: https://git.knut.univention.de/univention/univention-domain-join/-/merge_requests/2 Join succeeded but the product tests haven't been completed with it yet.
+ Request from customer > https://univention.plan.io/issues/40627
https://univention.plan.io/issues/40627 (What login is needed?) Is there a way to access the Pull REquest, so i can be tested?
(In reply to andreas@mibes.it from comment #6) > https://univention.plan.io/issues/40627 (What login is needed?) This is an Univention internal system; sorry. > Is there a way to access the Pull REquest, so i can be tested? Next to updating the documentation there is currently only one change: diff --git univention_domain_join/utils/domain.py univention_domain_join/utils/domain.py index 0f1d836..2c3edd9 100644 --- univention_domain_join/utils/domain.py +++ univention_domain_join/utils/domain.py @@ -91,7 +91,7 @@ def get_ucs_domainname_of_dns_server(): def get_nameservers(): - output = subprocess.check_output(['systemd-resolve', '--status']) + output = subprocess.check_output(['resolvectl']) nameservers = set() last_line_was_dns_servers_line = False
univention-domain-join (1.0-28ubuntu1) 11d20648bb1d | Bug #54775: Add Ubuntu 22.04 support
https://launchpad.net/~univention-dev/+archive/ubuntu/ppa/+packages
(In reply to Philipp Hahn from comment #7) > diff --git univention_domain_join/utils/domain.py > univention_domain_join/utils/domain.py … > def get_nameservers(): > - output = subprocess.check_output(['systemd-resolve', '--status']) > + output = subprocess.check_output(['resolvectl']) Only after publishing this update I noticed that the code is actually broken: - `resolvectl` does not provide a stable API to be consumed by machines. - Also the code handles multiple DNS servers wrong which are all listed one line, but the code tries to parse multiple lines - <man:resolvectl(1)> will also return more than just IP addresses: > Each address can optionally take a port number separated with ":", a network interface name or index separated with "%", and a Server Name Indication (SNI) separated with "#". When IPv6 address is specified with a port number, then the address must be in the square brackets. > $ resolvectl dns ens3 10.207.208.139 8.8.8.8 9.9.9.9 ::1 [::1]:9%2#localhost > $ resolvectl status … > DNS Servers: 10.207.208.139 8.8.8.8 9.9.9.9 ::1 [::1]:9#localhost Patch available