Re: systemd-resolved breakage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Petr Menšík writes:

Am I missing something?

Yes, system is being shoved down your gullet, whether you like it or not.

would NetworkManager.conf:
dns=default

Write resolv.conf again? Can I make it rewrite after disabling
systemd-resolved? Why doesn't it restore /etc/resolv.conf on
systemd-resolved shutdown?

Yes, /etc/resolv.conf is a symlink. Apparently NetworkManager has been changed to write /run/NetworkManager/resolv.conf instead, so you can set /etc/resolv.conf symlink to point to it.

This whole house of cards is an epic fail. There is already a perfectly usable architecture in place to handle this: alternatives. Both NetworkManager and systemd should use alternatives to claim dibs on /etc/resolv.conf, and alternatives will manage the symlink itself.

This is just plain dumb. /etc/resolv.conf should be an alternatives-managed link. If it were, you'd immediately know how to obtain the list of all the alternative configurations, and have a simple mechanism for selecting how you want DNS to be configured, and complete freedom to use or not use systemd-resolved. I refuse to believe that this obvious solution never occured to anyone, instead it was decided to intentionally cram systemd- resolved down everyone's throat and make people jump through hoops to get rid of it.

Attachment: pgp6i9IP2SN4q.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux