Re: about systemd-resolved

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

 



On Apr 24, 2025, at 08:28, François Patte <francois.patte@xxxxxx> wrote:
> am a little bit confused about the dns : I have systemd-resolved installed and when I list the content of the package (rpm -ql), I can read on the first line:
> 
> /etc/systemd/resolved.conf
> 
> But there is no /etc/systemd/resolved.conf
> 
> There is a /usr/lib/systemd/resolved.conf but it is a file the lines of whitch are all commented...

It may take some getting used to, but systemd has multiple places where configuration is read, and the files in /etc/systemd overrides the files in /usr/lib/systemd. The idea is that the OS packages files in /usr/lib and /etc is for local changes. The same occurs with systemd service units.

You can create (or copy over from /usr/lib/systemd) the /etc/systemd/resolved.conf and use the options that are commented out, and it will override the file in /usr/lib/systemd.

The package has that file marked as %ghost, it is part of the package but actually supplied by the package.

-- 
Jonathan Billings
-- 
_______________________________________________
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