-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No DNS in inheriting VMs after enabling fedora-35 template's fedora-updates-testing repo and updating #7429
No DNS in inheriting VMs after enabling fedora-35 template's fedora-updates-testing repo and updating #7429
Comments
4.1 too. EDIT: After disabling systemd-resolved in template, and deleting /etc/resolv.conf, systemd still makes the symlink to |
With 4.1, I also saw this problem with the today update of my fedora-35 template (qubes-os notification for update available, update via qubes update, only stable repositories). The today update includes systemd. From my test, impact on fedora-35 based AppVM and DispVM. Example for disp6558, first details about this DispVM:
Tests on disp6558:
Workaround from the forum DNS broken today after latest update topic:
|
OK, I've found a somewhat better short term solution. Perform the steps below inside of a template to fix this issue for now
Some links to look at: As previously mentioned, with systemd-resolved disabled, for some reason systemd still creates the symlink to stub-resolv.conf, which is why the touch command is necessary in the above. |
Note that enabling the updates-testing repo is no longer required to be impacted by this, I got the systemd update through stable repo already 2 days ago (Fedora 35). A swift response from Qubes Team would be great before the majority of users update their Fedora templates and manual fixing will be necessary. @marmarek
Thank you for the workaround! |
@andrewdavidwong please, see the @Geblaat 's above comment, and add the relevant tags (4.1 stable and P:critical or P:major ?). |
The milestone reflects the earliest affected supported release. |
When configuring DNS, do so in resolved too, not only plain /etc/resolv.conf. The former should load the latter, but it saves one indirection (resolved is used via NSS directly, at least on Fedora, even if /etc/resolv.conf points somewhere else). Related to QubesOS/qubes-issues#7429
systemd creates a /etc/resolv.conf symlink independently of systemd-resolved (before the service is started, even if not going to be started). Lennart says whatever wants to modify /etc/resolv.conf, should remove the symlink. So, do just that. Fixes QubesOS/qubes-issues#7429 (cherry picked from commit cde610d)
When configuring DNS, do so in resolved too, not only plain /etc/resolv.conf. The former should load the latter, but it saves one indirection (resolved is used via NSS directly, at least on Fedora, even if /etc/resolv.conf points somewhere else). Related to QubesOS/qubes-issues#7429 (cherry picked from commit 0b028df)
systemd creates a /etc/resolv.conf symlink independently of systemd-resolved (before the service is started, even if not going to be started). Lennart says whatever wants to modify /etc/resolv.conf, should remove the symlink. So, do just that. Fixes QubesOS/qubes-issues#7429 (cherry picked from commit cde610d)
When configuring DNS, do so in resolved too, not only plain /etc/resolv.conf. The former should load the latter, but it saves one indirection (resolved is used via NSS directly, at least on Fedora, even if /etc/resolv.conf points somewhere else). Related to QubesOS/qubes-issues#7429 (cherry picked from commit 0b028df)
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
How to file a helpful issue
Qubes OS release
R4.0
Brief summary
If you change the flag from
0 to 1 and shut down the template, then update the template, any newly started VMs begin reporting "temporary" dns errors.
https://forum.qubes-os.org/t/r4-0-fedora-35-update-no-dns/10669/7
As per forum post, likely due to a systemd/resolved update.
Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: