Re: Please stop hijacking /etc/resolv.conf

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

 



Kevin Fenzi writes:

On Thu, May 30, 2024 at 04:25:44PM GMT, Sam Varshavchik wrote:
> Kevin Fenzi writes:
>
> > So, I think if you:
> >
> > disable systemd-resolved
> > or
> > make /etc/resolv.conf a real file, not a link.
> > or
> > set 'DNSStubListener=no' in /etc/systemd/resolved.conf
> >
> > It will not be replaced anymore.
>
> I did not even /have/ systemd-resolved installed.
>
> dnf system-upgrade installed it on its own, enabled it, and /etc/resolv.conf
> was replaced as a result.

Interesting. So, the only thing I see that requires systemd-resolved is
anaconda-core. However, systemd itself has a 'recommends' for it, so
perhaps thats what pulled it back in?

That's probably it. Sifting through /var/log/dnf.log: this was removed together with systemd-resolved, when I removed it.

But this is a red herring. It was anaconda itself that was also pulled in as a dependency.

Installing dependencies:
anaconda                                      x86_64  40.22.3-1.fc40                      fedora                   102 k
anaconda-core                                 x86_64  40.22.3-1.fc40                      fedora                   2.8 M
anaconda-gui                                  x86_64  40.22.3-1.fc40                      fedora                   562 k
anaconda-tui                                  x86_64  40.22.3-1.fc40                      fedora                   228 k

So, possibly keeping it installed, but masked is a better way to make
sure it never gets enabled?

Masking is just solving the X of an XY problem. Either the dependencies being masked are not needed, or if they are needed masking would break something.

Attachment: pgpwdIJ0Gr4wg.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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[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