Re: ssh resolving with systemd.resolved

2022-04-24 Thread Chris Adams
Once upon a time, Gordon Messmer  said:
> systemctl disable systemd-resolved && systemctl stop systemd-resolved

BTW for quite some time, this can just be "systemctl disable --now ".

> rm /etc/resolv.conf
> systemctl restart NetworkManager
> 
> As documented in the original change proposal:
> https://fedoraproject.org/wiki/Changes/systemd-resolved

If that's what required, then an update to systemd-resolved is in order,
since the generated resolv.conf says:

# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.

Nothing about disabling/stopping/restarting any services.
-- 
Chris Adams 
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: ssh resolving with systemd.resolved

2022-04-24 Thread Gordon Messmer

On 4/24/22 10:00, Michael Hennebry wrote:

What would a systemd evangelist suggest as a minimal workaround?



systemctl disable systemd-resolved && systemctl stop systemd-resolved
rm /etc/resolv.conf
systemctl restart NetworkManager

As documented in the original change proposal:
https://fedoraproject.org/wiki/Changes/systemd-resolved
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure