Unable to resolve websites while systemd-resolved is running.
Describe your issue
A recent update installed systemd-resolved and removed openresolv. Ever since that update internet connection works for a few minutes but then cannot resolve anything until doas systemctl restart systemd-resolved
is issued.
What's the expected behaviour?
Websites load without restarting systemd-resolved.
What's the current behaviour?
Websites do not load without restarting systemd-resolved.
How to reproduce your issue?
- Install postmarketOS with systemd
doas systemctl start systemd-resolved
- Open a web browser and navigate to a website.
What device are you using?
generic-x86_64
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v24.12
-
v24.06
(supported until 2025-01-23) -
I confirm that the issue still is present after running
sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
- GNOME Shell on Mobile
- Phosh
- Plasma Mobile
-
Sxmo (Wayland/Sway) Please post the output of
sxmo_version.sh
- Other: GNOME Shell on Desktop
Which init system are you using?
- OpenRC
- systemd
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
Nothing seems unusual in journalctl, so we must be missing configs defined here.