On Apr 24, 2025, at 08:28, François Patte <francois.pa...@fdn.fr> 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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to