Description of problem:
After upgrade of server from F32 to F33 my network remained dead, because systemd-resolved took over the port 53 - this prevented the dnsmasq to start and serve the DHCP requests from all over the network.
Version-Release number of selected component (if applicable):
On upgrade thru dnf system-upgrade
May 01 11:39:57 server systemd-resolved: Failed to emit notification about changed property CurrentDNSServer: Transport endpoint is not connected
May 01 11:39:05 server systemd: Failed to start DNS caching server..
May 01 11:39:05 server systemd: dnsmasq.service: Failed with result 'exit-code'.
May 01 11:39:05 server dnsmasq: FAILED to start up
May 01 11:39:05 server dnsmasq: dnsmasq: failed to create listening socket for port 53: Address already in use
May 01 11:39:05 server systemd: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
May 01 11:39:05 server dnsmasq: failed to create listening socket for port 53: Address already in use
You'll need to disable the stub listener. Please create
I'll close the bug though: it's just something that will need to be handled through an explicit
configuration from the admin.
This is however a problem if you update a remote system, and whole network remains without DHCP due to that. I'd propose that this should be handled by package maintainer at last.
Either the systemd-resolved should be started after a dnsmasq or similar services, or it should not be configured for start if there is another resolver already configured.
There is an unlimited number of other resolvers that may be running. There is no mechanism to ask
"will there be some precess listening on port 53?".
I added a section in the Change page to mention this more: