Bug 2076045
Summary: | dnf upgrades sometimes replace the file /etc/resolv.conf back to the original symbolic link | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ray Holme <rayholme> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 35 | CC: | daniel.mach, fedoraproject, filbranden, flepied, jmracek, jrohel, lnykryn, mblaha, mhatina, msekleta, packaging-team-maint, pkratoch, rpm-software-management, ryncsn, ssahani, s, systemd-maint, vmukhame, yuwatana, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | systemd-249.12-3.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-22 01:23:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ray Holme
2022-04-17 11:21:28 UTC
As you mentioned, dnf is definitely not changing the symlink. It has to be done by some rpm package that was part of the upgrade. I guess the culprit is systemd-resolved which creates the symlink in its scriptlets, so I re-assign it there for further investigation. Yeah, the rpm scriptlet had a check for whether we're doing an upgrade or initial installation, but that check was borked. OK, please don't bork it again. :=]]] Sorry, but I just plain forgot about it and spent 2 hours thinking it was hardware. My boof! FEDORA-2022-01079468a3 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-01079468a3 FEDORA-2022-01079468a3 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-01079468a3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-01079468a3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Thanks to all of you. Nice. FEDORA-2022-01079468a3 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-01079468a3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-01079468a3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. 5/7/2022 and I just did a system upgrade. I had a real file in /etc/resolv.conf (I copy in mine and do not use a symlink anymore) AND I have a file called /etc/NetworkManager/conf.d/no-dns.conf contining these 2 lines [main] dns=none ALL TO NO AVAIL. The upgrade replaced my real file with the symlink to the generated file. BOO HOO HOO. At least I remembered this time, so the fix only took a minute. FEDORA-2022-01079468a3 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. |